ASP.NET (2.0) throws a debug Window
-
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. -
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.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...