• Server Application Unavailable 【Failed to execute request because the AppDomain could not be created.】的解决办法


    页面出现问题:

    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.

     

     

     

    打开ASP.NET 网站时,发生错误,经查看Web服务器的「事件查看器」中之「应用程序」,如果错误是:

    Failed to execute request because the App-Domain could not be created. Error: 0x80131902

    基本上,这种情况最可能发生在第一次执行 .Net framework 2.0 ,原因不明,但下面的做法大致可以解決此问题:

    1.首先打开「命令提示符」,切换目录到 %SystemRoot%\Microsoft.Net\Framework\ (%SystemRoot% 視你 Windows 安裝目录而定,一般是在 C:\Windows)

    2.执行 "net stop w3svc" 停止 w3svc 服务
    3.切换到下级目录 v2.0.50727
    4.执行 "aspnet_regiis.exe -ua" 解除 .Net 安裝
    5.重新安裝 .Net 到 IIS 中 "aspnet_regiis.exe -i"
    6.重新启动 w3svc "net start w3svc".

     

    真累人啊!不过终于搞好了!Happy 啊!O(∩_∩)O哈哈~

  • 相关阅读:
    HTTP 错误 403.14
    HTTP 错误 404.3
    HTTP 500
    [转]ESCAPE()、ENCODEURI()、ENCODEURICOMPONENT()区别详解
    此计算机当前已将连接限制
    一个由表结构生成表的存储过程
    微信小程序页面跳转传参
    前端性能优化术语
    get请求和post请求的区别
    从输入url到页面呈现的过程
  • 原文地址:https://www.cnblogs.com/haoliansheng/p/1506944.html
Copyright © 2020-2023  润新知