Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a ASP.NET website hosted on IIS7.0. It is working fine, but sometimes when I browse the website it's giving "Service Unavialable" error page. when I reset IIS and AppPool again it is started working. But i am not sure why exactly service unavailable error page is displaing. Can anyone please help what could be the reason!!
Problem is when ever this issue occurs everytime i need to restart the IIS. It is problem for me.
Posted

 
Share this answer
 
There will be a couple of reasons behind the "service unavailable" issues.

1. Make sure application pool is enabled.

2. Please make sure that your code is error free.in case if any exceptions occur while running the application,It might crash the application pool.During that time,you might get the "service unavailable" issue.

3. Go to services.msc >> open IIS properties >> Recover tab >> Select "Restart the service" [Not recommended]

Go to event viewer and have a look at logs.

Let me know if you need any further help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900