I recently developed a simple application for displaying a list of files to some users based on access levels and allowing them to download them etc.
This application was developed to be hosted inside a large corporation with heavy security policies and is fairly mission critical..
The application is very basic,
- it checks the users NTID (using windows authentication)
- compares that to a table in SQL
- then pulls up a list of all the files on which this user has access
Thats pretty much it..
There are also a couple of forms for adding a user and editing a user and uploading a file.
We have a problem often where the application is pretty much unresponsive.
This can be remedied by opening command prompt and running ‘iisreset’
I should also note when originally deploying the application we changed some settings on the server to allow connections to stay open a while longer to allow bigger file uploads..
Could this be locking the application up?
I am unabble to restart the server until the weekend.
The server is a windows 2003 box running IIS6.0 and .NET 2.0
Helllllp!
Thanks
Daniel
Haha.. I Feel So Stoopid!
After a morning of writing the stack to log files i found the error..
Fixed By Adding this:
Whoops!
So Basically if an error happens in the SQL stuff it’ll go straight to catch and never close the connection!
Thanks for your help everyone!