iis重启后网站工作正常为什么? [英] Website is working fine after iis is restarted Why?

查看:249
本文介绍了iis重启后网站工作正常为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS中部署了我的asp.net应用程序。



突然我的应用程序无效。



单击显示错误的按钮后,它正在服务登录页面。



我检查了连接字符串和sql server都是正确的。



然后我重新启动IIS然后应用程序正常工作。为什么?



有谁能告诉我这是什么问题?如何解决?

I have deployed my asp.net application in IIS.

Suddenly my application is not working.

It is serving login page after clicking the button it is showing the error.

I have checked connection string and sql server all are correct.

Then i restarted the IIS then application working fine. Why?

Can anybody tell me what is the problem? How to resolve it?

推荐答案

为什么网站停止在IIS中工作可能有很多可能性。



当失败次数(与该应用程序池相关)超过最大失败次数属性设置到该应用程序的高级设置时,IIS将停止应用程序池池。您可以在服务器的事件查看器中查看应用程序失败的原因。


理想情况下,您应该纠正应用程序失败的原因并修复它们,如果你不希望你的IIS停止你的应用程序池,那么你可以按照以下步骤。



1)打开IIS。

2)右键单击您的应用程序池并选择高级设置

3)设置快速失败保护 - > 已启用为False。
Their can be many possibilities why website stops working in IIS.

IIS stops Application-Pool when number of failures(related to that Application-Pool) exceeds value of "Maximum Failures" Property set into the "Advanced Settings" of that Application-Pool. You may review cause of failures of your Application in "Event Viewer" of the Server.

Ideally you should rectify cause of your application failures and fix them, If you do not want your IIS to stop your Application-Pool then you may follow below steps.

1) Open IIS.
2) Right click on your Application-Pool and select "Advanced Settings".
3) Set "Rapid-Fail Protection" -> "Enabled" to False.


有一种可能性,您的应用程序驻留的服务器正在关闭或缓慢,因为您的应用程序没有响应服务器为什么它会给出超时错误或服务器无响应。

重新启动IIS后你的应用程序运行,因为你可以重新启动IIS服务,为什么你的应用程序运行正常。



i认为你的应用程序没有运行。
There is one possibility, Server where your application is reside is getting down or Slow due to this your application not responding with server that why it give timeout error or server not responding.
after restart IIS your application runs because you can restart IIS Service again that why your application run fine.

i think due to this your application not running.


这篇关于iis重启后网站工作正常为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆