IIS infamous phantom error: Server Unavailable
Was assigned a task and upon finish downloading the project, an attempt to debug the projects shows a message box with contents like “unable to start debugging on the same web server”. Browsing through the error, one of the point which drives to delve further what’s the root cause of it, here it goes “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.”. Then it gives alternative options which is “Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.”.
Went through the even viewer, found 3 more errors and below listed those:
1. aspnet_wp.exe (PID: 5484) stopped unexpectedly.
2. Failed to initialize the AppDomain:/LM/W3SVC/1/Root/GAP
Exception: System.IO.FileLoadException
Message: Could not load file or assembly ‘System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. Access is denied.
3. Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0×80070005 Access is denied.
From the above errors, I went and google’d for no. 3 errors in hoping it could solve all. I arrived at this microsoft page: http://support.microsoft.com/default.aspx?kbid=811320.
There are few permissions to be set and going through the first two then test debug the web again which appears to have solved the issue.
Written by admin on August 4th, 2011 with no comments.
Read more articles on Programming and Web.