Visual Studio Error in Outlook

Asked By 7060 points N/A Posted on -


What could cause the following message to appear when opening certain emails in Outlook 2007?

"Visual Studio Just-In-Time Debugger"

"An unhanded win32 exception occurred in OUTLOOK.EXE [3580]."

Best Answer by nevkamins
Answered By 10 points N/A #81563

Visual Studio Error in Outlook


Just-In-Time Debugger Visual Studio is a very helpful instrument; this will tolerate you to check your application when Visual Studio is not active and start debugging with Visual Studio when a difficulty occurs. If you observe the Just-in-time error box that imply that your application (outlook) is throwing exclusion that is going unbalanced. What can I state is to study why it’s doing it?

What we can attempt to resolve this error is to do a system restore, restore the date and time earlier than the error appear. Or do clean boots to separate if one of operating program or services that is reasoning the difficulty, you can open msconfig, disable the non-Microsoft software and start up items and restart PC. After restart, attempt to turn check your outlook if it's giving the similar error.

You can also disable the Just-in-time debugger, go to tools, then option, select debugging, and In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script, lastly click ok.

Best Answer
Best Answer
Answered By 0 points N/A #81564

Visual Studio Error in Outlook


By using VSTO & .Net 3.5 SP1, Microsoft Word Add created and we are working on it. The add-on is going well but newly we examined that when we open a .doc file by using a double click in an explorer folder the Word shell open but the file will not open while add-on is active in Word 2003. The error which appears is similar to this:

"Windows cannot find C: (Doc) Make sure you typed the name correctly, and then try again ".

Even through the file open on double click if a word instance is open before now.

The same case is on windows Vista, but some time Window XP faces the same problem.

We could not find the basic reason of this problem after attempt many things. Will anybody help me in this matter how to fix this problem?

Thank you so much for your time. I am looking for some fast response

Answered By 563960 points N/A #303221

Visual Studio Error in Outlook


Since the cause of the problem is the Just-In-Time Debugger, try disabling it. Click “Start” then in the search box type without quotes “regedit.exe” and then select “regedit.exe” from the results. In the Registry Editor window, go to this location on the left pane:

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]

Locate “Debugger” on the right then delete it. Next, go to this location on the left pane:


Look for “DbgManagedDebugger” on the right then delete it. If you have 64-bit Microsoft Windows, go to the following locations also and delete the keys:

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger]
  • [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger]

When you are finished, close the window and restart your computer. Restart whatever it is you are doing. Note: when you’re in the Registry Editor window, be very careful not to touch any other keys.

Login/Register to Answer

Related Questions