ASP.Net Application Hangs
-
Hi Guys, I so desperately hope that someone can point me in the right direction. I haven't slept in four days and I don't know what to do any more. The short version of my problem is below: I wrote an C# ASP.Net app that simply searches in an MSSQL DB for the keyword typed in. Brings back one result. User selects the row (in a DataGrid) and more info on that row is displayed. The user then needs to scan in a barcode, press enter and a new page is opened on which printing happens to the default printer. I made 100% sure I don't use any funny code, I don't use any files on the hard drive, I don't spawn any threads, I don't use any asynchronous calls and I don't use any reporting tools like Crystal or SQLRT. All the code is standard everyday simple C#. The web server runs MS Windows 2003. The application is in it's own application pool. The Problem: After about a hundred (not always a hundred but around there) of these scans and prints, IIS would suddenly comes back with the standard "Page Cannot Be Displayed" error. Note: It doesn't respond with a .NET error, but rather the normal Page Cannot Be Displayed. I would appreciate it immensely if someone could just point me in a vague direction as I think I have double checked almost everything. Thanks and Regards, Phi?
-
Hi Guys, I so desperately hope that someone can point me in the right direction. I haven't slept in four days and I don't know what to do any more. The short version of my problem is below: I wrote an C# ASP.Net app that simply searches in an MSSQL DB for the keyword typed in. Brings back one result. User selects the row (in a DataGrid) and more info on that row is displayed. The user then needs to scan in a barcode, press enter and a new page is opened on which printing happens to the default printer. I made 100% sure I don't use any funny code, I don't use any files on the hard drive, I don't spawn any threads, I don't use any asynchronous calls and I don't use any reporting tools like Crystal or SQLRT. All the code is standard everyday simple C#. The web server runs MS Windows 2003. The application is in it's own application pool. The Problem: After about a hundred (not always a hundred but around there) of these scans and prints, IIS would suddenly comes back with the standard "Page Cannot Be Displayed" error. Note: It doesn't respond with a .NET error, but rather the normal Page Cannot Be Displayed. I would appreciate it immensely if someone could just point me in a vague direction as I think I have double checked almost everything. Thanks and Regards, Phi?
Hi there, There are a couple of things come to mind after reading your post: + IMHO, you'd better go to sleep since you haven't done that for 4 days. After a deep sleep, you might come up with a solution. + Did you check the HTTP.sys logs errors for more information about the problem that the IIS might have? + Did you check the the Win32 error in the IIS W3C extended log? + After the IIS returns error message "Page Cannot Be Displayed", how do you make your application run again? Do you have to restart the IIS or ASP.NET process? Or your application still keeps servicing the new requests? Just some of my humble ideas.