Windows 10 .Net Runtime unhandled exception error


We are a Windows 10 Environment. For one particular user I am getting the .net runtime unhandled exception error while opening some application when the computer goes to sleep and when return from the sleep upon login.

As a temporary solution I have to end task the application by going to task manager or restart the PC to work the application again.

While checking the event viewer I found the below details I think the event details are related to the issue I am facing:

Application: dpm.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception

Exception Info: System.Data.SqlClient.SqlException
at System.Data.SqlClient.TdsParser.TdsExecuteRPC(System.Data.SqlClient.SqlCommand, System.Data.SqlClient._SqlRPC[], Int32, Boolean, System.Data.Sql.SqlNotificationRequest, System.Data.SqlClient.TdsParserStateObject, Boolean, Boolean, System.Threading.Tasks.TaskCompletionSource1<System.Object>, Int32, Int32) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, Boolean, Int32, System.Threading.Tasks.Task ByRef, Boolean, Boolean, System.Data.SqlClient.SqlDataReader, Boolean) at System.Data.SqlClient.SqlCommand.RunExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, System.String, System.Threading.Tasks.TaskCompletionSource1<System.Object>, Int32, System.Threading.Tasks.Task ByRef, Boolean ByRef, Boolean, Boolean)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean, System.String)
at System.Data.SqlClient.SqlCommand.ExecuteReader(System.Data.CommandBehavior, System.String)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior)
at System.Data.Common.DbDataAdapter.FillInternal(System.Data.DataSet, System.Data.DataTable[], Int32, Int32, System.String, System.Data.IDbCommand, System.Data.CommandBehavior)
at System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet, Int32, Int32, System.String, System.Data.IDbCommand, System.Data.CommandBehavior)
at System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)
at Digita.DPM.DA.Database.SynchronizeDataSet(System.Data.DataSet, System.Data.SqlClient.SqlDataAdapter, System.String[])

Exception Info: Digita.DPM.DA.Exceptions.CriticalDatabaseException
at Digita.DPM.DA.Database.HandleFetchException(System.Exception)
at Digita.DPM.DA.Database.SynchronizeDataSet(System.Data.DataSet, System.Data.SqlClient.SqlDataAdapter, System.String[])
at Digita.DPM.DA.DataAccessBase`1[[System.__Canon, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SynchronizeDataSet()
at Digita.DPM.Security.ConnectionManager.ReleaseConnection(Digita.DPM.Security.ProductArea)
at Digita.DPM.Security.LicenceManager.Regurgitate(Digita.Common.Framework.DisplayMessageDelegate, System.String)
at Digita.DPM.Program.Main(System.String[])

Any inputs on this issue is appreciated. If anyone needs any additional information from the PC Please let me know.



Hi @Davies,

This is a known issue in Windows device which is an exception that can be considered to be a known form of error that the operating system is programmed to deal with. Sometimes windows doesn’t know how to handle the exception. However, anything can be fixed if we try the right troubleshooting steps with the patient.

Here are some steps to solve Windows 10 unhandled exception errors:

Perform clean boot

Clean boot will enable the PC to start with only a minimal set of drivers and programs. This way, you will know if any third party application is leading to the error. Please follow the below steps to perform clean boot:

Type msconfig in search or press Windows Key + R and type msconfig

  • In the System Configuration dialog box and under the Services tab, select the Hide all Microsoft services check box.hide all microsoft services
  • Click on Disable all.
  • Next, select the Startup tab and click on Open Task Manager.
  • In Task Manager, you will get to see a list of startup items relevant to your PC. Select each and click Disable.disable startup programs
  • Close Task Manager after you are done with each startup item.
  • Click on OK to close the System Configuration dialog box.
  • Re-start your PC.

After the restart your PC will boot in what is called the clean boot environment where all third party programs are disabled. If you get the same error when there is a problem laying in your Windows I would suggest better to reinstall your Windows OS.

Perform SFC scan

SFC scan performs a scan of all the system files and will make necessary amendments as deemed fit. That makes it extremely fit to deal with unhandled exception errors. Here is how to perform sfc scan.

Type CMD in search or press Windows Key + R and Type CMD and enter

In the Command prompt window, type sfc /scannow and press Enter.
It might take a few second for the scan to complete. Wait patiently till it shows 100% scan is complete.

Run the Hardware Troubleshooter

Any issues with hardware can also be the reason for the error to appear. That makes it quite imperative to perform a hardware and devices scan to rule out the chances of hardware or a device somewhere playing the trick.

Run .NET Framework cleanup tool

This is also recommended to ensure you have no issues with the .NET Framework installed in your PC. You will have all the information and procedure listed here for running the tool.

Perform virus scan:

There also are chances of a virus attack being the culprit behind such errors. As such, it is highly recommended to perform a full and thorough scan of your system to ensure there is no virus in your PC or to deal with the situation of there being a virus attack on your PC.

Un-install and re-installing .NET Framework

This also is another way to deal with unhandled exception error. Here are the steps:

  • Launch Control Panel by clicking on Start > Windows System > Control Panel. Alternately, you can simply type Control Panel in the Cortana search box and select from the search results shown.
  • Select Programs > Programs and features. Locate Microsoft .NET Framework.
  • Right-click on it and select Uninstall.

After uninstallation is complete, install Windows update.
For that, go to Start > Settings > Update & security.
The .NET Framework will get installed automatically. Alternatively, you can also download it manually from the official Microsoft site.

I hope the above process will help to solve your issue. :grinning:


@tjnihal, Thank you so much for answering my post. Now the error has disappeared.

Thanks again :innocent: