asp.net2.0发布到本机IIs报错:Failed to execute request because the App-Domain could not be created. Error: 0

来源:互联网 发布:java迭代器删除元素 编辑:程序博客网 时间:2024/05/21 06:31

1.首先打开「命令行窗口」,並切换目录到 %SystemRoot%/Microsoft.Net/Framework/(%SystemRoot% 视你 Windows 安装目录而定,一般是在 C:/Windows)

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

原创粉丝点击