0

We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources. It just hangs after a few days, there is no error message or apparent crash.

We are making sure every .Open command is matched by a .Close command on the database connection. We are doing the same with file Open/Close but there are very few of those.

Is there anything else we should check?

Petras
  • 4,686
  • 14
  • 57
  • 89
  • Instead of jumping straight into code - do you have perfmon running in the background to capture stats? Should tell you I/O wait times, connections, throughput, etc. Perfmon knows all. – RPM1984 Jun 10 '10 at 04:56

2 Answers2

0

From another user response:

You want to add a rule to ignore certain routes. See: Asp.Net Routing: How do I ignore multiple wildcard routes? or http://haacked.com/archive/2008/07/14/make-routing-ignore-requests-for-a-file-extension.aspx

Community
  • 1
  • 1
VoodooChild
  • 9,776
  • 8
  • 66
  • 99
0

Try ELMAH

Call me in the morning (:))

ggonsalv
  • 1,264
  • 8
  • 18