【问题描述】
确定在IIS上发布路径没有问题,在本机能运行。发布到服务器上后,开始没问题。但当同时在默认站点下发布一个需要.net freame 2.0的web站点后,我这边(.net framework 1.1)就报错了:
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.
估计大约是两个应用共用了同一个AppPool,出现冲突。
【尝试】
1. 重启IIS,重启电脑,重新发布。问题依然存在。
2. 为我的程序单独建立一个应用程序池,再重新发布。没有解决。
【解决问题】
开始->运行,输入services.msc,打开服务,找到“asp.net state service”服务,启动它。解决问题。
【疑问】
asp.net state service服务描述:
为 ASP.NET 提供进程外会话状态支持。如果此服务被停止,进程外请求将得不到处理。如果此服务被禁用,任何显式依赖它的服务将无法启动。
意思是对session的一个补充么?在会话结束后保存上次会话状态,跟这个问题有什么联系呢?