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

发布于 2024-09-18 00:34:32 字数 215 浏览 1 评论 0原文

我有一台运行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾听心声的旋律 2024-09-25 00:34:32

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

This was solved by deleting the websites and application pools from iis and creating them back.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文