打开网站后提示错误
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.
打开事件查看器
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问
初步判断是目录权限问题
添加iis_wpg的读写权限后问题解决
相应的权限设置可以参考下面的文章
 
 
还有一个可能的原因就是asp.net版本不同的问题
解决方法:
分别用不同的程序池
建池方法
iis管理器-应用程序池-新建-应用程序池
可以以原来的程序池做模板