zoukankan      html  css  js  c++  java
  • IIS的一个莫名错误--Server Application Unavailable

    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.

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

  • 相关阅读:
    用数据泵技术实现逻辑备份Oracle 11g R2 数据泵技术详解(expdp impdp)
    用mysql实现类似于oracle dblink的功能
    统计1的个数
    转置字符串,其中单词内的字符需要正常
    经典排序之归并排序
    公共子序列与公共子串问题
    placement new (转)
    数组排序组合最小数字
    实现两个数相加不用四则运算
    操作系统中作业、线程、进程、内存管理、垃圾回收以及缓存等概念
  • 原文地址:https://www.cnblogs.com/WuCountry/p/355673.html
Copyright © 2011-2022 走看看