If you encountered an error message that says, “Unhandled exception has occurred in your application”, when you start your Windows 10 computer, read on as this post will guide you on how you can fix it. This kind of error usually appears in a Microsoft .NET Framework window and it mostly pops up as soon as you turn on your computer. Here’s the complete context of the 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.”
When this error occurs, your computer may freeze or display other suspicious behavior at times. Either way, there are several options you can check out in this post to resolve this issue, so read on.
This kind of error could be caused by several factors. It could be due to your antivirus program or other third-party programs installed on your computer. It is also possible that the installation of the Microsoft .NET framework id corrupted or some of its installation files are corrupted. Thus, to fix the error, there are a few suggestions you need to follow such as:
Option 1 – Try to temporarily disable your anti-virus program
As mentioned, the error could be due to the antivirus program or the Windows Defender Firewall installed on your computer. Thus, disabling them or any security software installed in your computer is always a good idea you can try when you’re not able to access the shared drive in your computer. There are times when you encounter problems like the “Unhandled exception has occurred in your application” error due to interference of antivirus or security programs. Thus, you have to disable both your antivirus program in the meantime and check if it fixes the error or not.
Option 2 – Put your computer in a Clean Boot State
As pointed out, it is possible that some third-party program or service is the one that’s behind the problem. To isolate this possibility and to identify the culprit, you have to put your computer into a Clean Boot State. To do so, follow the steps below.
- Log onto your PC as an administrator.
- Type in MSConfig in the Start Search to open the System Configuration utility.
- From there, go to the General tab and click “Selective startup”.
- Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
- Next, click the Services tab and select the “Hide All Microsoft Services” check box.
- Click Disable all.
- Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
- Once your computer has restarted, check if the error is now gone. If it is, then the culprit is some third-party program. Thus, you have to enable the third-party programs one by one to find out which one of them is causing the the “Unhandled exception has occurred in your application” error.
Option 3 – Try to run a System File Checker scan
System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files that might be the cause why you’re getting the “Unhandled exception has occurred in your application” error. To run the SFC command, follow the steps given below.
- Type “cmd” in the Start search and then right-click on the appropriate search result.
- Next, select “Run as administrator” to open Command Prompt with admin privileges.
- After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
- Now restart your computer and see if the problem is fixed or not.
Option 4 – Install and update Dependencies
There are times when programs and applications need to have drivers and supporting software installed for them to properly work. Although the installation usually takes care of it, it’s time for you to do some manual check especially if you are getting this issue of abnormal program termination.
- Install some qualified drivers – A number of high-end games and applications need to have correct and valid drivers for them to work. They just don’t work with general drivers though. Microsoft has this Windows Hardware Quality Labs testing also known as WHQL testing which makes sure that drivers meet the correct experience and pass through the proper testing before certification. Thus, when installing drivers, you need to ensure that they are qualified drivers for your Windows 10 PC.
- Download and install or Update DirectX – As you know, Microsoft DirectX is a suite of technologies developed by Microsoft to provide hardware acceleration for heavy multimedia applications like HD videos and 3D games. Since you are using Windows 10, you have the DirectX 12 version while the earlier Windows versions use the DirectX 11 version.
- Install the Microsoft DirectX End-user runtime – The Microsoft DirectX end-user runtime gives updates to version 9.0c as well as previous versions of DirectX. To install it, click on this link and download it.
- Update or install the .NET framework – The .NET framework is used by games and applications during development which means that without the runtime files that are installed in your computer, it definitely won’t work. Thus, you need to install or update this framework. You can also use the .NET setup verification tool to verify it.