CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 11/7/2007 9:47:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 475 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
magnus.kirkhaug
Asp.Net User
Visual Studio Just-In-Time Debugger11/7/2007 9:47:32 AM

0

Hi

I have a problem with my Visual Studio installation and I hope someone can help me.

I had problems opening a project in VS 2005, I installed the servicepack for VS 2005 and it worked. After a while I got a pop-up window saying:

**************************************

Visual Studio Just-In-Time Debugger

An unhandled exception ('System.Data.SqlClient.SqlException') occurred in aspnet_wp.exe [5460].

Possible Debuggers:

New instance of Visual Studio 2005 

And the question if I want to debug using the selected debugger.

****************************************

I have tried to stop debugging in VS 2005 but it does not work. Tried to uninstall and install SQL Server 2005 again, but no luck. Located that when I had the website in my local IIS stoped the popup does not appear. When it is started the website workes just fine and the site is set to run with ASP.NET 2.0. New pop-up windows appears with a 10 min interval approximately.

Does anyone no what to do to get rid of this problem?

Benson Yu - MSF
Asp.Net User
Re: Visual Studio Just-In-Time Debugger11/12/2007 5:43:42 AM

0

Hi magnus.kirkhaug,

Based on my experience, the issue should caused by the unhandled exception from web application running in the aspnet_wp.exe process. After Visual Studio is installed on a server, the default behavior when an unhandled exception occurs is to show an Exception dialog that requires user intervention to either start Just-In-Time debugging or ignore the exception.

This may be undesirable for unattended operation. To configure the server to no longer show a dialog when an unhandled exception occurs, use the registry editor to delete the following registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger

For the detailed information, please check the following link:
Just-In-Time Debugging
http://msdn2.microsoft.com/en-us/library/5hs4b7a6(vs.80).aspx

However, please understand the above workaround doesn?t fix the exception. It?s just a workaround to avoid the exception dialog. To fix the issue, you should make web applications to handle such exceptions. For example, you can add application level error event handler in the Global.asax file. For the detailed information, please refer to the following link:

How to: Handle Application-Level Errors
http://msdn2.microsoft.com/en-us/library/24395wz3(vs.80).aspx

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Mikhail Arkhipo
Asp.Net User
Re: Visual Studio Just-In-Time Debugger11/12/2007 6:12:37 PM

0

This message means Web application is crashing in IIS. Without the debugger ASP.NET process restarts automatically and application seems to be working fine. However, I'd recommend investigating why the application is crashing - there is probably a bug there. Frequent worker process restarts may seriously affect application performance.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
A Tester's Guide to .NET Programming Authors: Randal Root, Mary Romero Sweeney, Pages: 606, Published: 2006
Application development using C# and .NET Authors: Michael Stiefel, Robert J. Oberg, Pages: 623, Published: 2002
Visual studio hacks Authors: James Avery, Pages: 478, Published: 2005
C# concisely Authors: Judith Mary Bishop, Nigel Horspool, Pages: 442, Published: 2004
Mastering Visual Studio .NET Authors: Ian Griffiths, Jon Flanders, Chris Sells, Pages: 397, Published: 2003

Web:
Disabling Visual Studio Just in Time Debugger Hello, I have a problem concerning Visual Studio 2005's JIT debugger. One day I installed an express version of Visual Studio just to see ...
Disabling Visual Studio "Just In time Debugger" No installed debugger has Just In Time debugging enabled. In Visual Studio, Just In Time Debugging can be enabled from ...
Disable Visual Studio Just in Time debugger | ProgrammerFish ... Visual Studio Just In Time Debugger is a good tool but it becomes very irritating when it crashes other applications. To disable it, here is the procedure ...
Just-In-Time Debugging Just-In-Time debugging is a feature that launches the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal ...
Just-In-Time Debugging Errors If you do not know the name of the crashing process, look at the Visual Studio Just-In-Time Debugger dialog and note the process ID. ...

Visual Studio Just In Time Debugger Error - ng.asp-net-forum ... Visual Studio Just In Time Debugger Error, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005, Date: 3/2/2006 3:10:17 PM, ...
Visual Studio Just-In-Time Debugger - ng.asp-net-forum ... Visual Studio Just-In-Time Debugger, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005, Date: 11/7/2007 9:47:32 AM, ...
unhandled win32 exception. & no debugger error - ng.asp-net-forum ... A little later, I started Firefox and got this error from the Visual Studio Just In Time Debugger: An unhandled win32 exception occurred in ...
How to turn on Debugging in VS 2005 - ng.asp-net-forum ... Visual Studio Just In Time Debugger Error - ng.asp-net-forum ... new instance of Visual Studio 2005 do you want to debug using the selected ...
[:'(] "An unhandled win32 exception occurred" everywhere - ng.asp ... I have visual studio 2005 installed on my computer and every time an .... Just- In-Time debugging this exception failed with the following ...

Videos:
Virtual Machine-Based Replay Debugging Google Tech Talks October 30, 2008 ABSTRACT Replay debugging allows developers to debug recordings of programs running in virtual machines. This ...
Why Microsoft is CRAP! It's the day before an assignment is due in After Visual Studio buggering up already im trying to catch up with all the work i lost. When i think ...






"the operation could not be completed" using the open command in the command window

format document: leave line spacing alone and change indentation only?

visual studio 2005 + vista network share = slow saving!!!

view designer in vs 2005 not responding

orcas release date?

whidbey

visual studio 2005 with asp.net 1.1

re: precompiling the app_code folder

problem running vs 2005 debugger on localhost

anyway to tell where a first chance exception is thrown from?

<<help >>

piping output from a web deployment project

web application projects dilemma

getting a null reference exception in aspnet_merge

i need help regarding inheritence

development server not specifying that gifs be cached by clients?

web deployment project

generate sql create script will generate utf16 of utf32 file, can i change this?

opening a new word document

is old feature still in ide?

help: can't see line number

working on a remote computer problem.?

control can't seem to be renamed

open any template in the design view of formview, it takes long time to load all the controls

how to make instant messanging with vs 2005 and ajax using c#.net

new prosess template problem, cannot connect to sharpoint services

table adapters and sql server 2005

populate textbox

web services: missing template

publish web site, app_web_xxxxx.dll

   
  Privacy | Contact Us
All Times Are GMT