If You click Quit, the application will close immediately. Gizmo error…

Asked By 0 points N/A Posted on -

Hi there,

I deployed a Microsoft .NET Framework application that accesses a database on a computer.

The computer only has the .NET Framework Redistributable package installed.

When I run the application I receive the following error message:

Unhandled exception has occurred in your application. If you click

Continue, the application will ignore this error and attempt to continue. If

You click Quit, the application will close immediately.

The type initializer for ‘Gizmo.Gizmo’ threw an exception.

Here is a picture to better describe my problem…


Have any idea?


Answered By 5 points N/A #81959

If You click Quit, the application will close immediately. Gizmo error…


Hello Jack,

You receive the error because you need to have Microsoft Data Access Components (MDAC), used by the .NET application, installed on the computer. To resolve the issue, you may download the MDA component from the following Microsoft website:


Visit the following web link for more information:


Follow the steps to disable Just-In-Time debugging:

1. Click Start and choose to open the Run command window.

2. In the Run command window, type regedit, and press Enter.

3. Locate and delete the following registry keys in the Registry Editor window:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebugDebugger


4. Close the Registry Editor window.

It is always advisable to back up the registry while modifying the registry. Please visit the following web link for more information:


Also try installing the .Net Framework 4.0 available in the following web page to resolve the issue:


You may also try uninstall and reinstall the software to resolve the issue.

Hope this helps.


Login/Register to Answer

Related Questions