Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Exception from HRESULT: 0x80050120

I have run the application successfully at least a year.  Now IT change the app to new server, then error showed up:

Unhandled exception has occurred in a component in your application. If you click Continue, the  application will ignore this error and attempt to continue.

Exception from HRESULT: 0x80050120

 

 See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80050120): Exception from HRESULT: 0x80050120

   at ESRI.ArcGIS.Carto.IFeatureSelection.SelectFeatures(IQueryFilter Filter, esriSelectionResultEnum Method, Boolean justOne)

   at WWOMAPPERver._1.WorkOrderForm.btnChoosePj_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)

    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

WWOMAPPERver.1

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Program%20Files/Default%20Company%20Name/WMapperSetup.Ver3/WWOMAPPERver.1.dll

----------------------------------------

ESRI.ArcGIS.ADF

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.ADF/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.ADF.dll

----------------------------------------

ESRI.ArcGIS.SystemUI

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.SystemUI/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.SystemUI.dll

----------------------------------------

ESRI.ArcGIS.Framework

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Framework/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Framework.dll

----------------------------------------

ESRI.ArcGIS.System

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.System/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

ESRI.ArcGIS.ArcMapUI

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.ArcMapUI/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.ArcMapUI.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

ESRI.ArcGIS.Geodatabase

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Geodatabase/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Geodatabase.dll

----------------------------------------

ESRI.ArcGIS.Carto

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Carto/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Carto.dll

----------------------------------------

ESRI.ArcGIS.Geometry

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Geometry/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Geometry.dll

----------------------------------------

System.Data.OracleClient

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data.OracleClient/2.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll

----------------------------------------

System.Transactions

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

----------------------------------------

System.EnterpriseServices

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

----------------------------------------

ESRI.ArcGIS.GeoDatabaseUI

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.GeoDatabaseUI/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.GeoDatabaseUI.dll

----------------------------------------

ESRI.ArcGIS.Catalog

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Catalog/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Catalog.dll

----------------------------------------

ESRI.ArcGIS.DataSourcesFile

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.DataSourcesFile/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.DataSourcesFile.dll

----------------------------------------

ESRI.ArcGIS.Display

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.Display/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.Display.dll

----------------------------------------

ESRI.ArcGIS.DataSourcesOleDB

    Assembly Version: 9.3.0.1770

    Win32 Version: 9.3.0.1770

    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ESRI.ArcGIS.DataSourcesOleDB/9.3.0.1770__8fc3cc631e44ad86/ESRI.ArcGIS.DataSourcesOleDB.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

How can I fix it?  Please help.  Thank you!

 

 

Question Info


Last updated August 14, 2019 Views 11,525 Applies to:

Hi Don X Newman,

 

·         Have you made any changes on the computer prior to the issue?

 

Follow the suggestions listed below and check if the issue still persists:

 

Method 1:

 

Step 1: Try booting the computer in safe mode and check if the issue still persists, refer the below link to boot to safe mode.

 

A description of the Safe Mode Boot options in Windows XP

http://support.microsoft.com/kb/315222

 

Step 2: I would suggest you to perform clean boot from safe mode and check if the issue still persists.

 

You may refer the link:

 

How to configure Windows XP to start in a "clean boot" state

http://support.microsoft.com/kb/310353

 

If the issue does not persist you may continue with step 2 from the above link.

 

Make sure you reset the computer to normal mode after the troubleshooting completes. Refer the section “Steps to configure Windows to use a Normal startup state”

 

Method 2: I would also suggest you to scan your computer with Microsoft Safety Scanner, which would help us to get rid of viruses, spyware, and other malicious software.

The Microsoft Safety Scanner is a free downloadable security tool that provides on-demand scanning and helps remove viruses, spyware, and other malicious software. It works with your existing antivirus software.

 

http://www.microsoft.com/security/scanner/en-us/default.aspx

 

Note: The Microsoft Safety Scanner expires 10 days after being downloaded. To rerun a scan with the latest anti-malware definitions, download and run the Microsoft Safety Scanner again.

 

Important: While scanning the hard drive if any bad sectors are found when scanning tries to repair that sector, any data available on that might be lost.

 

Let us know if this helps.

 

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.