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

Asked By 0 points N/A Posted on -
qa-featured

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?

 

SHARE
Answered By 5 points N/A #81959

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

qa-featured

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:

https://msdn.microsoft.com/en-us/data/aa937730

Visit the following web link for more information:

https://support.microsoft.com/en-us/help/815117/you-receive-an-exception-when-running-net-application-on-a-computer-th

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

HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFrameworkDbgManagedDebugger        

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:

https://support.microsoft.com/en-us/help/322756/how-to-back-up-and-restore-the-registry-in-windows

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

http://www.microsoft.com/en-us/download/details.aspx?id=17851

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

Hope this helps.

Glenn

Related Questions