How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?

0
2

The “Unhandled exception has occurred in your application” error usually appears in a Microsoft .NET Framework window and if often appears as soon as your computer starts up. The error message appears among the following lines:

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.

Users’ computers sometimes also freeze or display other suspicious behavior. Either way, there have been many different methods which can be used to resolve the problem so make sure you check them out below!

What Causes the “Unhandled Exception has Occurred in your Application” Error on Windows?

There are several simple causes to this problem and the problem can be effectively tackled if you are able to recognize your scenario simply based on identifying the correct cause. Check out the list below:

  • Your antivirus may be the culprit – Some antivirus tools such as Panda Antivirus are known to have caused this issue so make sure you replace them.
  • Certain programs or malware may be running – If an installed program or malware is running on your computer, you might want to get rid of it. Make sure you boot into clean boot to see if that is the correct cause.
  • Microsoft .NET Framework installation is corrupt – If its core files are corrupt, you can either try repairing its installation, installing a newer version, or performing an SFC scan.

Solution 1: Replace Your Antivirus

Free antivirus tools can be quite helpful and they can do their job protecting your computer but sometimes they just don’t get along well with other things on your computer. Consider replacing your antivirus if it causes this problem while it’s turned on!

  1. Click on the Start menu and open Control Panel by searching for it. Alternatively, you can click on the gear icon in order to open settings if you are using Windows 10.
  2. In Control Panel, select to View as – Category at the top right corner and click on Uninstall a Program under the Programs section.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Uninstall a program in Control Panel

  1. If you are using the Settings app, clicking on Apps should immediately open a list of all installed programs on your PC.
  2. Locate your antivirus tool in Control Panel or Settings and click on Uninstall.
  3. Its uninstall wizard should open so follow the instructions to uninstall it.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Uninstalling your antivirus

  1. Click Finish when the uninstaller completes the process and restart your computer to see whether errors will still appear. Make sure you choose a better antivirus option.

Solution 2: Perform a Clean Boot

There are various other programs and services which can affect the proper functionality of the Microsoft .NET Framework suite. In most cases, the cause is the antivirus you have installed and you can try disabling it to see if the error persists. However, to make sure nothing can interfere with the installation, we recommend you perform a clean boot which will disable all non-Microsoft programs and services from starting up. This way, you can easily deduct just which program causes this error to happen!

  1. Use the Windows + R key combination on your keyboard. In the Run dialog box type MSCONFIG and click OK.
  2. Click on the Boot tab and uncheck the Safe Boot option (if checked).

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Running MSCONFIG

  1. Under the General tab in the same window, click to select the Selective startup option, and then click to clear the Load startup items check box to make sure it’s not checked.
  2. Under the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Disabling all non-Microsoft services

  1. On the Startup tab, click Open Task Manager. In the Task Manager window under the Startup tab, right click on each startup item which is enabled and select Disable.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Disabling all startup items

  1. After this, you will need to perform some of the most boring processes and that is enabling the Startup items one by one and restarting your computer. After that, you need to check whether the problem appears again. You will need to repeat the same process even for the Services which you have disabled in Step 4.
  2. Once you locate the problematic startup item or service, you can undertake action in order to solve the problem. If it is a program, you can reinstall it or repair If it is a service, you can disable it, etc.

Solution 3: Install the Latest Version of NET Framework and Repair it

Having NET Framework installed on your computer is vital and plenty of modern games and programs depend on you having it installed. Before repairing it, follow the steps below in order to install the latest version on your computer.

Navigate to this link and click the red download button in order to download the latest version of the Microsoft .NET Framework. After the download has finished, locate the file you downloaded and run it. Note that you will need to have constant access to the Internet. Follow the instructions on-screen to proceed with the installation.

  1. After installing the latest version, it’s time to check its integrity. On your keyboard, use the Windows Key + R key combination to open the Run dialog box.
  2. Type in control.exe and click OK in order to open it.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Running Control Panel

  1. Click the Uninstall a Program option and click Turn Windows features on or off. Make sure you locate the .NET Framework 4.x.x entry and make sure it’s enabled. ‘x.x’ marks the latest version available for your operating system.
  2. If the checkbox next to .NET Framework 4.x.x is not enabled, enable it by clicking the box. Click OK to close the Windows Feature window and reboot the computer.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Enabling the latest version of .NET Framework

  1. If .Net Framework 4.x.x is already enabled, you can repair .Net Framework by clearing the box and rebooting the computer. After the computer has restarted, re-enable .Net Framework and restart the computer again.

Solution 4: Use SFC to Scan for Memory Leaks

It has been reported that the Microsoft .NET Framework corruption is related to faulty system files. These problems are rooted deep inside the system files and the only way to try to resolve them is by running the System File Checker (SFC). It will scan your system files for errors and possible repair or replace them. Follow the steps below in order to do so!

  1. Search for “Command Prompt” by typing it either right in the Start menu or by pressing the search button right next to it. Right-click the first entry which will pop up as a search result and select the “Run as administrator” context menu entry.
  2. Additionally, you can also use the Windows Logo Key + R key combination in order to bring up the Run dialog box. Type in “cmd” in the dialog box which appears and use the Ctrl + Shift + Enter key combination for admin Command Prompt.

Unhandled exception has occurred in your application How to Fix the ‘Unhandled Exception has Occurred in your Application’ Error on Windows?
Running Command Prompt as an administrator

  1. Type in the following commands in the window and make sure you press Enter after typing each one. Wait for the “Operation completed successfully” message or something similar to know that the method worked.

sfc /scannow

  1. Try to restart your computer and check to see if the Unhandled Exception has Occurred in your Application error continues to appear on your computer.


Source: https://appuals.com/

READ :  Fix: Shell Infrastructure Host has stopped working

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.