I had a most interesting issue occur this morning on my work pc with IIS 5.1
Background
I zipped up a web site I was working on last night and sent it home as an Email message. I then extracted it and worked on it at home without issues. I then used WinRAR to rar it up and sent it back to work. I then extracted the files (by drag & drop from within WINRAR) and went to run the application. I instantly received the following message in my web browser.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
|
- The message came up instantly as soon as I hit refresh - no delay!
- There was this message in the Windows Event Log each time I refreshed the page.
Event ID : 1088, Failed to execute request because the App-Domain could not be created
Error: 0x80070005 Access is denied

I did a couple of things most people do in this situation:
- Performed an IIS Reset - Same problem!
- Rebooted the PC - Same problem!
- Verified the services were all working - all ok!
- Checked the event log again - same messages!
I then thought about requesting a static file:
I then renamed web.config to web.config1 and copied my original web.config file from the original zip over the current one!
- The web application was working again
So I renamed the web.config files around the other way so that the now working web.config was called web.config1
- Web application was again failing!
I then checked the permissions on the web.config files
| Caused the Error |
|
Did not cause the error |
 |
|
 |
As you can see from the above permissions there was no permissions defined for the ASP.NET machine account or the IUSR_ and IWAM_ accounts.
Now more investigating into WinRAR.
- I had dragged my files from within the WinRAR window to the folder directory without using the Extract To option!
I assume that this actually extracts the file to a temp folder and then moves the file to the actual folder where it is dragged to. This causes the following scenario.
- The file is extracted to a temp directory - the file inherits the security settings of that directory
- The file is then moved to the final directory where I dragged it to - this causes the file to retain the security settings it originally had in the temp folder.
Using the Extract To option in WinRAR however correctly extracts the file to the correct folder where it inherits the security settings of the folder.
Just something you should watch out for if you see a similar issue.