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.
During debugging, there was a problem with a SQL statement. After modifying the error, IIS came up with this error. . . . .
Of course, I tried to Refresh, but it was almost in vain. I had no choice but to restart IIS, but the result was still the same!
After restarting the computer, the error is still there. This is depressing.
After checking the log, I found that the last log had a lot of spaces (it should be, because the log is text). It seems to be written in an infinite loop. But it should be possible to recover after restarting the computer, deleting the log, and running it again. The result is still the same!
Later, with the help of colleagues, I found that a service in Services was stopped. After reopening the service ASP.net state Service, IIS becomes normal.
I don’t understand why the service was stopped after an error occurred in the program, and the service was not loaded even after restarting IIS and the computer. I was very depressed. . . Must be started manually.
[Correction: Wednesday, March 22, 2006 3:41:18 PM]
Maybe the above is a coincidence, IIS still had the same error in the afternoon. After several checks later, I found that it had nothing to do with IIS (I also reinstalled IIS, what a fool)! After several hours of thinking, I finally put the problem on the pieces of code I wrote! It turned out to be a stack overflow error. I'm so confused, why the error reported by .net is a runtime debugging error! Moreover, there are a lot of DCOM errors related to .net recorded in the log:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{73B25FFD-F501-437B-8B11-7F0DE383964F}
to the user WEBB-COUNTRY-WUASPNET SID (S-1-5-21-1343024091-113007714-725345543-1010). This security permission can be modified using the Component Services administrative tool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp .I
was confused by these few lines of errors at the beginning, and ended up wasting several hours.