Service not available in IIS

When I get an invalid sql server data call in my application in classic ASP, I get this message on my site: Service Unavailable. He stopped. My site is on a remote host. I do not know what to do. What can I tell the "support team" of them to fix this?

0


source to share


5 answers


If you are browsing Administration Tools / Event Viewer - Application Log, you will likely see an error message.

This should give you more information as to the reason why the application pool died or why IIS died.



If you paste this into your question, we can narrow things down a bit.

+1


source


Whenever a series of subsequent errors appear on your asp.net page, the application pool might close. There, the tolerance level is usually 5 errors in 10 minutes or so. Outside this level, IIS will stop the service. I am facing a big problem due to this error.

What you can do is either fix all your sites (it will take time), or increase the clearance level, or just turn off the automatic shutdown system. That's how

Run IIS
Right click on the node 'Application Pools' in your left sidebar.
Click on the tab 'Health'
Remove the check on 'Enable Rapid Fail Protection' 

      



or change the clearance level.

Hope it helped.

+1


source


One of the reasons you might get this is to terminate the application pool.

0


source


Application pools can stop if they fail. Usually after 5 errors in 5 minutes IIS disables AppPool. It is part of Rapid-fail protection and can be disabled for AppPool, otherwise AppPool needs to be restarted every time it happens.

These parameters can be changed by the IIS administrator. It looks like you can set up the script to reload and the app so that you can set up a new web app (in another app) to restart the closed app. The owner may not like this.

The best outcome for you is to catch all exceptions before they go to IIS.

0


source


There may be a SQL exception in the Application_Start (or similar) method in Global.asx. If the application (ASP.NET worker process) cannot start, it cannot run, so the worker process must be disabled.

0


source







All Articles