Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Service Unavailable ???

Status
Not open for further replies.

hysaccess

Programmer
May 27, 2003
12
AU
Hello,

I have recently put up an asp.net on a windows 2003 server, however i have noticed that my site sometimes read Service Unavailable why is this ... does this mean i need to get a more decent IIS server
 
I would run PerfMon on that server and look at the .NET CLR Memory Gen'x' counters to see how your well your garbage collection is working.

I suspect you aren't disposing of some of your unmanaged resources (database handles, file handles, etc), so when a user connects the system is unable to provide a connection for them. If there's handles available, the site works; if there aren't, they get the "service unavailable" message.

Chip H.
 
I do have connections to databases, but i dont know how to fix it
 
OK, do a search here and in the forum for your code-behind language (C#, VB.NET) for "Dispose" -- it's been covered many times.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top