I'm working locally on an ASP.NET website under Windows 7, and I experience stange behaviours sometimes ...
I've been working several days with several Visual Studio opened, working on the website, then I switched to compiling and deploying some others apps until yesterday, and today, I had to get back working on the website. So I launched a browser and entered the url "//localhost/" as usual ...
Unexpectedly, IIS tells me :
HTTP Error 500.19 - Internal Server Error
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \?\C:\DVP-WP\SQ2sln_web\web.config
Well, 2 days ago, web.config was accessed without trouble ! What happened? Of cours, I cannot remember having changed anything regarding ACL or accounts or .. just writing c# code and asp.net and compiling !!!
Why does this happen ?
STEP2: So I went to the folder where the website files are located and applied some security: I specify machine\IIS_IUSR to have read access to the folder website folder ("SQ2sln_web") ... OK , II7 now servers the aspx pages I request at the root level ... but not the css file!
HTTP Error 401.3 - Unauthorized
Requested URL [...] localhost:80/soquiz.css
Physical Path C:\DVP-WP\SQ2sln_web\soquiz.css
Logon Method Anonymous
Logon User Anonymous
So I set some specific rights to the file itself (see picture at http://soquiz.com/resources/documents/acl%20problem%20file%20specific.gif)
... but it did not solve the problem
1) Does anyone know WHY or HOW access rights change ?
2) Does anyone know why setting specific acl to one file do not work ?
Thank you!