Share via

Microsoft .NET Framework Unhandled exception has occured

Anonymous
2015-06-29T14:53:27+00:00

This appears when I open a program... Any suggestions

See the end of this message for details on invoking 

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

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

System.InvalidOperationException: DragDrop registration did not succeed. ---> System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.

   at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)

   --- End of inner exception stack trace ---

   at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)

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

   at System.Windows.Forms.ComboBox.OnHandleCreated(EventArgs e)

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

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

   at System.Windows.Forms.ComboBox.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.8009 (FX35W81RTMGDR.050727-8000)

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


DeviceManager

    Assembly Version: 1.0.3657.33610

    Win32 Version: 4, 0, 1, 58

    CodeBase: file:///C:/Program%20Files%20(x86)/HomePlug%20AV%20Wireless-N%20Extender/DeviceManager.exe


System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)

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


System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)

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


System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)

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


ListViewEx

    Assembly Version: 1.0.3426.21257

    Win32 Version: 

    CodeBase: file:///C:/Program%20Files%20(x86)/HomePlug%20AV%20Wireless-N%20Extender/ListViewEx.DLL


Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)

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


FunctionalTabs

    Assembly Version: 1.0.3426.21299

    Win32 Version: 

    CodeBase: file:///C:/Program%20Files%20(x86)/HomePlug%20AV%20Wireless-N%20Extender/FunctionalTabs.DLL


ControlPrimatives

    Assembly Version: 1.0.3426.21275

    Win32 Version: 

    CodeBase: file:///C:/Program%20Files%20(x86)/HomePlug%20AV%20Wireless-N%20Extender/ControlPrimatives.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.

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2015-06-30T18:32:30+00:00

    This appears when I open a program...

    What program?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-06-29T23:11:18+00:00

    I have no idea, i just thought someone may have an answer

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-06-29T22:05:32+00:00

    How does this pertain to Windows Update functionality?

    Was this answer helpful?

    0 comments No comments