Error Cannot Read Configuration
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you error cannot read configuration file due to insufficient permissions might have Meta Discuss the workings and policies of this error cannot read configuration file site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers config error cannot read configuration file due to insufficient permissions or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community config error cannot read configuration file of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot read configuration file due to insufficient permissions up vote 205 down vote favorite 53 I've recently encountered an error trying to host my asp.net site with IIS. I have found a solution that many
Synergy Refused Client
swear by. Solution: Add IIS_IUSRS with Read permission on files in the folder Change IIS authentication method to BasicAuthentication refresh the website. It will work (http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html) What do I add to my web.config file though? I've never had to edit it before. Here is its current contents:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow
Iis Error Cannot Read Configuration File Due To Insufficient Permissions
the company Business Learn more about hiring developers or posting ads with us Stack Overflow cannot read configuration file iis express Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of cannot read configuration file due to insufficient permissions iis 7 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot read configuration file due to insufficient permissions up vote 10 down vote favorite 1 I am trying http://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions to test my Web Service on an IIS instance on my local machine before I promote to a windows server 2008 environment. I get this when I attempt to browse to the service. I have created a custom application pool that this service will run under btw. So I am guessing that that application ID does not have permissions to access that folder etc... I get this little detail btw... "This error occurs http://stackoverflow.com/questions/9100606/cannot-read-configuration-file-due-to-insufficient-permissions when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error." I am thinking I need to give that application identity permissions, but I am unsure how to accomplish this. Is there another way to get this done? iis applicationpoolidentity share|improve this question asked Feb 1 '12 at 17:45 DmainEvent 2,9832074141 add a comment| 6 Answers 6 active oldest votes up vote 37 down vote accepted Not sure whether this is too late for you. The IIS website is run by either USERS or IIS_IUSRS. Try to do following: from Windows Explorer, right click on the folder pointed by the web, go to security tab, add computername\IIS_IUSRS or computername\USERS with Read permission. share|improve this answer edited Feb 5 '14 at 13:16 Stephen Oberauer 2,75333160 answered Mar 19 '12 at 6:43 Qinjie 6681815 add a comment| up vote 7 down vote 1.Open IIS 2.On left side panel click on application pools 3.And go to its properties and change identity value from "ApplicationPoolIdentity" to "Local System". I resolved the problem when i tried this. share|improve this answer answered Apr 25 '14 at 11:07 Sudha 7111 Thanks alot... I waste lot of time adding IIS_IUSRS
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above ASP.NET Administration Cannot http://forums.iis.net/t/1175153.aspx?Cannot+read+configuration+file+due+to+insufficient+permissions+HTTP+Error+500+19 read configuration file due to insufficient permissions HTTP E... Cannot read configuration file due to insufficient permissions HTTP Error 500.19 [Answered]RSS 3 replies Last post Jan 30, 2011 07:31 AM https://social.msdn.microsoft.com/Forums/vstudio/en-US/e5b30d8b-beec-4ce3-86ee-dc49b715b97d/cannot-read-configuration-file-due-to-insufficient-permissions?forum=wcf by HCamper ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply svibuk 5 Posts Cannot read configuration file cannot read due to insufficient permissions HTTP Error 500.19 Jan 28, 2011 05:48 AM|svibuk|LINK in windows 7 which has asp.net application it was working fine , but by mistake i made some changes & i ge the below error HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. cannot read configuration Handler Not yet determined Error Code 0x80070005 Config Error Cannot read configuration file due to insufficient permissions Config File \\?\D:\CRM\web.config i made the following cnhages In Windows Explorer, locate the web.config file that is associated with the Web site. Right-click the web.config file Click Properties. Click the Security tab, and then click Edit. Click Add. In the Enter the object names to select box, type computername\IIS_IUSRS, click Check Names, and then click OK. Note Computername is a placeholder for the computer name. Click to select the Read check box, and then click OK. In the Web.config Properties dialog box, click OK. but still the same error Reply Hades666 258 Posts Re: Cannot read configuration file due to insufficient permissions HTTP Error 500.19 Jan 28, 2011 09:16 AM|Hades666|LINK Hi, The worker process identity (Your application Pool User) and/or the IIS_IUSRS group needs at least Read access to the directory as well as the web.config file. After adding the rights for this user to the directory, let it inherit down to the web.config and try again. If you
Framework > Windows Communication Foundation, Serialization, and Networking Question 0 Sign in to vote It has been a while I am working on it but it's still unresolved.Problem:I have configured IIS 7.0 (on Windows Vista) to work with a WCF project I have.When I type http://localhost/ProductsService/ProductsService.svc it should show the WCF service file but it shows me the following error message: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x80070005 Config Error Cannot read configuration file due to insufficient permissions Config File \\?\C:\Users\PooyaK\Documents\Microsoft Press\WCF Step By Step - Test\Chapter 1\ProductsService\ProductsService\web.config Requested URL http://localhost:80/ProductsService/ProductsService.svc Physical Path C:\Users\PooyaK\Documents\Microsoft Press\WCF Step By Step - Test\Chapter 1\ProductsService\ProductsService\ProductsService.svc Logon Method Not yet determined Logon User Not yet determined My tries:The web.config file I am using is valid and I have tried all the resolutions suggested here http://support.microsoft.com/kb/942055/ but unfortunately none has resolved it.I really appreciate if anyone can help resolving this. Tuesday, October 28, 2008 12:19 PM Reply | Quote Answers 2 Sign in to vote I found the solution :)1. Add IIS_IUSRS with Read permission on ProductsService.svc file as well as web.config2. Change IIS authentication method to BasicAuthentication3. Installing WCF extension in IIS using http://msdn.microsoft.com/en-us/library/ms732012.aspx4. Try, and it works! Marked as answer by Dynamic Tuesday, October 28, 2008 1:01 PM Tuesday, October 28, 2008 1:01 PM