Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Got HTTP Error 500.19 - Internal Server Error, Code 0x80070003, Config Error: Cannot read configuration file. I checked the source project folder and I do have the permission to access the folder (as well as the web.config. I googled for the solutions but not successful for some posted solutions. Can you hint me how to do? Thanks.
Posted

You might have permissions, but does the service account that is running IIS have permissions? Remember that IIS runs under a different user than your account, and you need to make sure that user has rights to that folder as well.
 
Share this answer
 
Comments
[no name] 19-Nov-13 14:03pm    
Ron: Thanks for your post. I did check IIS also. My project is in \Default Web Site\. In the Security, my name is there w/ Full Control. The IIS 6 is in my CPU. Actually, I published this project 1 month ago and it worked well. For debugging something stranger, I re-deployed it and then encounted this problem.
Ron Beyer 19-Nov-13 14:12pm    
Does the Network Service account also have permissions? You can check the account that your application is running under by going into IIS and look at the Identity for the Application Pool.
[no name] 19-Nov-13 14:57pm    
I checked the IIS\Default Web Site\ and myWebSite\ Authentication. There is only 1 item: Anonymous Authentication: Enable. From Admin Tool\IIS Security, I have the full control. Still got the same error - Cannot read configuration file, Config File \\? L:\...\web.config. Any new hint? Thanks.
Using the approach at http://forums.iis.net/t/1186502.aspx[^], I checked the Anonymous Authentication dialgue box under EDIT, and it has the IUSR as the specific user idenity. I changed this application pool identity and everything is back now. Thanks.
 
Share this answer
 
SQL
For Free Window Tech Support Contact s: 1-800-935-0537
http://computertechsupport.us/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900