IIS的一个莫名错误Server Application Unavailable

王朝other·作者佚名  2006-11-24
宽屏版  字体: |||超大  

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.

调试时,因为一个SQL语句有问题,修改错误后,结果IIS来这个错误。。。。。

当然,我试着去Refresh,可是这几乎是徒劳的。没办法,只好重新启动IIS,结果还是这样!

重新启动Computer后,还是这个错误。这才是郁闷。

查看日志后,发现最后一个日志有很多的空格(应该是,因为日志是文本的)。像是死循环写进去的。但重新启动电脑后应该可以恢复呀,删除日志,再来运行,结果还是一样!

后来在同事的帮助下,发现Services里的一个服务停了。重新打开这个服务ASP.net state Service后,IIS就正常了。

不明白为什么程序出现错误后,把这个服务给停了,重新启动IIS及电脑都不加载这个服务了,郁闷。。。必须手动启动。

[更正:Wednesday, March 22, 2006 3:41:18 PM]

可能上面是个偶然吧,下午IIS运行仍然是那样的错误。后来经过好几次的检查,发现与IIS没有关系(我还重新安装了IIS,昏,真是个笨蛋)!经过几个小时的思考,最后还是把问题放了自己写的那几段代码上!结果发现是一个堆栈溢出错误。昏死了,为什么.net报的错误却是运行时调试错误!而且日志里记录的也是一大堆的关于.net的DCOM错误问题:

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-WU\ASPNET 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.

一开始就被这几行错误给迷惑了,结果浪费了几个小时的时间。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有