IIS6 MVC2 服务器在一段时间后开始发送 404
我有一台运行 IIS6 和 MVC2 (.net 4) 的 W2k3 服务器。
iis启动后,一切正常,网站运行良好。无扩展名的网址工作正常。
一段时间后(可能是不活动的)服务器停止工作并开始向客户端发送 404 错误。
一旦我重新启动应用程序池,一切都会恢复正常,并且站点会再次启动。问题是,我不应该每隔几个小时重新启动应用程序池。
有什么想法吗?
I have a W2k3 server running IIS6 and MVC2 (.net 4).
Right after the iis starts, everything works ok, the site runs fine. 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.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过从 iis 中删除网站和应用程序池并重新创建它们可以解决此问题。
This was solved by deleting the websites and application pools from iis and creating them back.