由于重新装了Microsoft Visual Studio 2010,结果运行出错,检查发现应用程序池该项目已停止。
解决办法:
1、打开IIS:开始菜单》运行
2、输入“inetmgr”回车
3、选中需要修改的Web站点,点击右侧的高级设置
4、选中应用程序池一行,右侧会显示一个按钮,点击该按钮
5、在打开的选择应用程序池窗口中选择对应的应用程序池,单击确定按钮保存。
6、重新启动发布项目,问题解决。