EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   EQ2Map Troubleshooting (https://www.eq2interface.com/forums/forumdisplay.php?f=36)
-   -   An Unhandled Exception has Occurred (https://www.eq2interface.com/forums/showthread.php?t=4112)

Kijin 09-06-2005 09:00 PM

An Unhandled Exception has Occurred
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Threading.ThreadStateException: The current thread must 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.Clipboard.SetDataObject(Object data, Boolean copy)
at System.Windows.Forms.Clipboard.SetDataObject(Object data)
at WindowsApplication7.EQ2mapErrors.Errors_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
EQ2MAP_Updater
Assembly Version: 1.0.2051.567
Win32 Version: 1.0.2051.567
CodeBase: file:///C:/Program%20Files/EQ2MAP%20Updater/EQ2MAP_Updater.exe
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/EQ2MAP%20Updater/AxInterop.SHDocVw.DLL
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/EQ2MAP%20Updater/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.


Any Ideas? Wont update - locks up and goes non-responsive.

Thanks in advance guys

Ruddles 09-14-2005 02:45 PM

I know this is late, but have you been editing the source code at all? I only ask because the main function does have the STAThread attribute on it.

Kijin 10-02-2005 03:19 PM

No changes
 
No changes have been made to the source at all. Have tried redownloading and installing several times, only thing I can figure is I have a ghost from beta that is causing the fubar maybe?

Completely uninstalled EQ everything - and reran. Identical error.

Ruddles 10-03-2005 01:04 PM

Hmm, all your .NET versions are correct and in the correct place. Seems odd that its doing something with the clipboard, haven't looked at the code in a while but pretty sure it shouldn't be.

Do other .NET applications work?

taco-man 10-03-2005 02:38 PM

what it does with the clipboard is copy the error text for you when the error window opens up, that way you dont have to do it manually.

zippyfear 12-09-2005 07:37 PM

unhandled exception error
 
If anyone has this figures out, let me know.. everything used to work for me, but one day it just started getting this error (identical to the one described).

I uninstalled, deleted the old directory and reinstalled, no luck.. can't auto-update.

-Zippyfear

zippyfear 12-09-2005 07:39 PM

unhandled exception error
 
I'm downloading the service pack 1 for .net, I'll post if it fixes the problem.

zippyfear 12-09-2005 09:03 PM

unhandled exception fixed
 
Ok, that seemed too easy after weeks of it being broken, but the sp1 update for .net fixed it.

Good luck to all.

-Zippyfear - 50 sage. 42 conjurer


All times are GMT -5. The time now is 05:46 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI