简体   繁体   English

IIS6 MVC2服务器在一段时间后开始发送404

[英]IIS6 MVC2 Server starts sending out 404 after a while

I have a W2k3 server running IIS6 and MVC2 (.net 4). 我有一台运行IIS6和MVC2(.net 4)的W2k3服务器。

Right after the iis starts, everything works ok, the site runs fine. iis启动后,一切正常,站点运行正常。 Extensionless urls work ok. 无扩展名的网址可以正常工作。

After a certain period of time (maybe of inactivity) the server stops working and starts to send 404 errors to the client. 在一定时间段(可能不活动)后,服务器停止工作,并开始向客户端发送404错误。

As soon as I restart de application pool, everithing goes back to normal and the site is up again. 重新启动应用程序池后,一切恢复正常,站点再次启动。 The thing is, I shouldn't be restarting the application pool every few hours. 问题是,我不应该每隔几个小时重新启动一次应用程序池。

Any thoughts? 有什么想法吗?

通过从iis删除网站和应用程序池并重新创建它们来解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM