views:

23

answers:

2

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?

A: 

From another user response:

You want to add a rule to ignore certain routes. See: http://stackoverflow.com/questions/30302/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

VoodooChild
How do I know which routes to ignore?
Petras
A: 

Try ELMAH

Call me in the morning (:))

ggonsalv