Quantcast
Browsing all 43 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Ogglas for Cannot read configuration file due to insufficient...

Instead of giving access to all IIS users like IIS_IUSRS you can also give access only to the Application Pool Identity using the site. This is the recommended approach by Microsoft and more...

View Article


Image may be NSFW.
Clik here to view.

Answer by Nasko for Cannot read configuration file due to insufficient...

I set the .NET CLR version to No Managed Code and everything started to work fine.

View Article


Answer by varnsy for Cannot read configuration file due to insufficient...

If you are the one like me who cannot find IIS_USR to give access to the config file, just give permissions to ‘Everyone’ at the root folder

View Article

Answer by Michael for Cannot read configuration file due to insufficient...

The above answers were helpful, but in case this helps anyone - I had this exact problem, and it turned out that I was (windows networking) sharing the root folder that the site was being hosted from....

View Article

Answer by Ramadan Alrai for Cannot read configuration file due to...

I tried most of the previous suggestions but in vain. I can't reload the website, so I edited the .csproj file and changed the port number and it worked...

View Article


Answer by UKcentric for Cannot read configuration file due to insufficient...

This can happen if your application is in a virtual directory and the path to the files is a mapped drive. If you change the path to the files to a local drive, this will solve it, if that indeed is...

View Article

Answer by WernerCD for Cannot read configuration file due to insufficient...

I was running a website at localhost/MyApp built and run through Visual Studio - via a Virtual Directory created by Visual Studio itself.The "solution" for me was to delete the Virtual Directory and...

View Article

Answer by Andy for Cannot read configuration file due to insufficient...

I had this issue running on Windows 10 with the App Pool using a microsoftaccount\email@contosa.com account (e.g., signing in to the PC with a Microsoft Account instead of local account).Apparently on...

View Article


Answer by Doruk for Cannot read configuration file due to insufficient...

All answers given are valid and working under different circumstances.For me, restarting Visual Studio worked.

View Article


Answer by Oranit Dar for Cannot read configuration file due to insufficient...

Make sure your web.config file is not marked Read-only

View Article

Answer by Trent U for Cannot read configuration file due to insufficient...

I had this same issue and none of these solutions worked for me. I kept getting the same error and one about "Failed to start monitoring changes" in the event viewer. The only thing that worked was to...

View Article

Answer by subash adhikari for Cannot read configuration file due to...

Go to IIS, (sites)Right click on project inside the sites.enter image descriptionhereand click on edit permission.Go to security.click on edit button.click add button. type...

View Article

Answer by CredibleAshok for Cannot read configuration file due to...

Certainly, this is an issue with permissions. I took following steps and it worked for me.select your website or application in left corner. In most cases it would be under Default web site.click on...

View Article


Image may be NSFW.
Clik here to view.

Answer by Tom McDonald for Cannot read configuration file due to insufficient...

The accepted solution didn't for me. I use a Git repo and it cloned to the following folderc:\users\myusername\source\repos\myWebSiteI made new IIS website and pointed it at the path. Which didn't have...

View Article

Answer by Adem Aygun for Cannot read configuration file due to insufficient...

I gave permission and used ICACLS.exe but didn't work. Then I changed the physical path and it worked successfully.(IIS 8.5 windows 2012 R2)

View Article


Answer by Talha Imam for Cannot read configuration file due to insufficient...

Shift your project to some drive other than C:Worked for me with the same error.

View Article

Answer by ludens for Cannot read configuration file due to insufficient...

I have solved this by adding read permission to folder for application pool user (WIN SERVER 2008 R2):C:\Windows\System32\inetsrv\configA little background:Our server has been hacked using classical...

View Article


Answer by SanthoshM for Cannot read configuration file due to insufficient...

Sometimes if it is a new server you need to configure or install ASP.NET feature on IIS for it to be able to read your web.config file. In my case this was the reason.

View Article

Answer by SliverNinja - MSFT for Cannot read configuration file due to...

This happened to us when the IIS application has a Virtual Directory with a Physical Path that contains forward-slashes / instead of backslashes \. This was accidentally done using a powershell...

View Article

Answer by Igor Levkivskiy for Cannot read configuration file due to...

Right click Web.Config => Tab Security => Button Edit => Button Add => Button Advanced => Button Find Now = > In Search results select your group(in our case " IIS_IUSRS") => Ok...

View Article
Browsing all 43 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>