Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.Net Application Hangs

ASP.Net Application Hangs

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netdatabasesql-server
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andre Trollip
    wrote on last edited by
    #1

    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?

    M 1 Reply Last reply
    0
    • A Andre Trollip

      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?

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups