首页 / 网页编程 / ASP.NET / 安装Asp.net 2.0时服务器出现Server Application Unavailable提示
安装Asp.net 2.0时服务器出现Server Application Unavailable提示2010-09-16本来服务器上运行的是asp.net框架版本是1.1,网站IIS运行一切正常,但今天有客户需要安装.NET 2.0版本;安装了2.0版本后,服务器运行就出现Server Application Unavailable的提示,令人莫名其妙,查阅相关文档,终于有了解决方法,原因是.net Framework 1.1和.net Framework 2.0有冲突。具体错误信息会显示如下:Server Application UnavailableThe 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.查看Event Viewer,看到的错误为:Error:Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含:ASP.NETIWAM_MachineNameLocal_ServiceNetwork_ServiceSystem而且权限要设置为write & read.设置后,一切运行正常.