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. General Programming
  3. .NET (Core and Framework)
  4. ASP.NET (2.0) throws a debug Window

ASP.NET (2.0) throws a debug Window

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestioncsharpasp-netvisual-studio
2 Posts 1 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.
  • K Offline
    K Offline
    Kasic Slobodan
    wrote on last edited by
    #1

    It's very irritating. I compile the project, go to browser and do the refresh. Server (localhost) takes a long time to respond and sometimes throws a debug window to choose the debugging IDE so I must refresh again, and sometimes it works like nothing happened. It just happened with no reason. Everything was OK, and suddenly when I compile it and refreshed it, I get the error. With almost every compile, I get debbuging windows that tells me to choose the IDE for debug. Event Viewer logged this: EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.42, P3 4333aece, P4 eposlovi, P5 1.0.0.0, P6 46d30c6c, P7 a, P8 6, P9 system.nullreferenceexception, P10 NIL. aspnet_wp.exe (PID: 4456) was recycled because it failed to respond to ping message. aspnet_wp.exe (PID: 1120) stopped unexpectedly. An unhandled exception ('System.NullReferenceException') occurred in process #5852. Just-In-Time debugging this exception failed with the following error: The process ID is invalid. How can I fix this irritating problem? Thanks a lot.

    K 1 Reply Last reply
    0
    • K Kasic Slobodan

      It's very irritating. I compile the project, go to browser and do the refresh. Server (localhost) takes a long time to respond and sometimes throws a debug window to choose the debugging IDE so I must refresh again, and sometimes it works like nothing happened. It just happened with no reason. Everything was OK, and suddenly when I compile it and refreshed it, I get the error. With almost every compile, I get debbuging windows that tells me to choose the IDE for debug. Event Viewer logged this: EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.42, P3 4333aece, P4 eposlovi, P5 1.0.0.0, P6 46d30c6c, P7 a, P8 6, P9 system.nullreferenceexception, P10 NIL. aspnet_wp.exe (PID: 4456) was recycled because it failed to respond to ping message. aspnet_wp.exe (PID: 1120) stopped unexpectedly. An unhandled exception ('System.NullReferenceException') occurred in process #5852. Just-In-Time debugging this exception failed with the following error: The process ID is invalid. How can I fix this irritating problem? Thanks a lot.

      K Offline
      K Offline
      Kasic Slobodan
      wrote on last edited by
      #2

      I've solved this... The problem is in destructor in which I closes the DB connection... When I am done reading, I close the DB conn, and when that conn class disposes, I close the DB in destructor again and that what causes the error...

      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