The ‘unhandled exception has occurred’ error is not related to a specific application, which makes it much more difficult to resolve. Some users also see an error saying — An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and try to continue. If you click Exit, the application will close immediately.
If you see this error when using a particular app, you should start troubleshooting with that app. But how? There are several ways to resolve that error as we will discuss below. By the end of this tutorial, you should be able to work normally without the annoying pop-ups.
Let’s get started.
1. Update OS and Applications
We will start with updating Windows 10 to the latest version. That can fix quite a few bugs in the system. Press Windows key + I to open Settings and click Update & Security.
In Windows Update, check for updates and, if available, update and restart your computer once.
Since this error mainly occurs when using a specific application, update that application immediately. If you are using the Windows Store, open it and click the Download icon to search for and install app updates.
Restart your computer again and check if you continue to see the error.
2. Scan for Malware
Windows Defender continues to run in the background to scan for malware. If you’re using a third-party app, open it and perform a full system scan. Follow the on-screen instructions if it finds anything. Download Malwarebytes from the link below and rescan the whole thing.
In case you don’t know, viruses and malware are two different things, and Malwarebytes is designed to be used in conjunction with anti-virus software. The free version is good enough in most cases.
3. Troubleshooting
Windows 10 comes with a built-in troubleshooting option that can be used to find and repair some bugs in Windows and Microsoft apps. Not intended for third-party applications. Press Windows key + I to open Settings and search for ‘Windows Store app troubleshooting’ and then select Find and fix problems with Microsoft Store apps.
Follow the on-screen instructions from here, very easy. Let it do its job. If it finds something, it will try and fix itself or come up with a solution.
4. .NET Framework
Have you installed the .NET Framework on your computer? It is free software provided by Microsoft to compile and execute programs written in different languages. It provides interoperability between different coding languages. Didn’t get it? Just click on the link below to download the latest version and install it.
If unsure, use the recommended version, which should also be the most stable. Restart your computer and check if you still get the ‘unhandled exception has stopped’ error.
If you already have it on your computer then I recommend updating it to the latest version. Check the system requirements before downloading.
5. Run the .NET Framework Repair Tool
While there are third-party apps available in the market that you can try, I recommend using the official Microsoft repair tool first. Download and install the app using the link below and see if it finds anything. Reboot when done to test again.
Aaron Stebner, a Microsoft engineer, wrote a detailed guide on how to use his version of the repair tool as a ‘last resort’. The steps are very advanced and beyond the scope of this tutorial. You can find more details here but follow it if you really know what you’re doing. The tutorial has been written since 2008 but has been updated to support the latest versions of .NET Framework.
6. Uninstall/Reinstall .NET Framework
Yes, this error is usually related to the .NET Framework. In fact, due to the complex nature of this software, it has been prone to many errors since its inception in 2002.
Windows 8 and later users should skip this step as there is no way to uninstall the .NET Framework on newer versions.
Open Control Panel and click Uninstall a program. You will see a list of all the applications installed on your computer here. Find the .NET Framework here and there may be more than one. So right click on them and select Uninstall.
Reinstall using the download link shared in section 4.
7. SFC . Scan
System File Scan or SFC will find corrupted files and repair them for you. If the ‘unhandled exception’ is caused by a corrupt file, an SFC scan is your best chance. To do so, open Command Prompt with administrator rights and enter the command below.
sfc /scan now
8. Clean Boot and Safe Mode
We’ve written a detailed guide on both of these topics, including how to do them. Follow the steps and see if you can get rid of the error this way. Start with Clean Boot first and then enter Safe Mode.
handle it
Due to the complex nature of the .NET Framework, it can be a bit difficult to work around this error, since it was the source in the first place. If you find another way to solve this problem, share your solution in the comments below.
Next up: Tired of seeing too many notifications on Windows 10? Learn more about Focus Assist and how it can help control incoming notifications so you can stay focused on the task at hand.
Categories: How to
Source: thpttranhungdao.edu.vn/en/