Just-In-Time debugging error message occurs during the backup.
book
Article ID: 100002766
calendar_today
Updated On:
Description
Error Message
An unhandled exception ('System.TypeInitializationException') occurred in terrarium.exe or vssvc.exe
To enable or disable Just-In-Time debugging
- On the Tools menu, click Options .
- In the Options dialog box, select the Debugging folder.
- In the Debugging folder, select the Just-In-Time page.
- In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed , Native , or Script . To disable Just-In-Time debugging, once it has been enabled, it must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
- Click OK .
Applies To
Visual Studio
Cause
Visual Studio is installed on the server that is being backed up. When installing Visual Studio, Just-In-Time debugging is enabled by default. When a crash or exception occurs, you will see a dialog box appears with a message that looks something like this:
An unhandled exception ('System.TypeInitializationException') occurred in terrarium.exe[3384] or An unhandled exception ('System.TypeInitializationException') occurred in vssvc.exe [6076].
Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.
Check the documentation index for "Just-In-Time debugging, error's for more information.

Resolution
Disable Just-In-Time debugging on the affected server and then run the backup job.
Issue/Introduction
"Just-In-Time Debugging" message pops up on the server which is being backed up at the moment of backup and the backup job freezes. By clicking "OK" on the message and logging in to the server, backup job moves on and backup completes.
Was this article helpful?
thumb_up
Yes
thumb_down
No