Unhandled exceptation has occurred

Stimulsoft Reports.NET discussion
Post Reply
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Unhandled exceptation has occurred

Post by dikan »

I made report with four pages and three different queries. All works well in designer previewer but if I compile it in independent EXE file it works with following errors and after continue it displays reports but on client machine after same error it does not display anything. Program dies.

Regards,

Dikan

ERROR:
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.Control.WmCreate(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.UserControl.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.4200 (NetFxQFE.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Konobari
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///E:/AC7/plate/REPORTS/Konobari.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Report.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4205 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Base/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Base.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Stimulsoft.Report.Design
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Design/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Report.Design.dll
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Controls.dll
----------------------------------------
Stimulsoft.Controls.Win
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Controls.Win/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Controls.Win.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Editor/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Editor.dll
----------------------------------------
Stimulsoft.Report.Win
Assembly Version: 2010.2.800.0
Win32 Version: 2010.2.800.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Stimulsoft.Report.Win/2010.2.800.0__ebe6666cba19647a/Stimulsoft.Report.Win.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.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:





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.


Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Unhandled exceptation has occurred

Post by Alex K. »

Hello,

We made some improvements in that direction about a week ago. Please check the latest prerelease build.

Thank you.
dikan
Posts: 202
Joined: Thu Jun 18, 2009 5:05 pm
Location: Serbia

Unhandled exceptation has occurred

Post by dikan »

Some improvements are obvious. I have no problem on my developer machine but on a client PC I receive UHE and message for Microsoft is
EventType : clr20r3 P1 : konobari.exe P2 : 0.0.0.0 P3 : 4cbd8942
P4 : stimulsoft.base P5 : 2010.2.800.0 P6 : 4cb4bad5 P7 : 499
P8 : 27 P9 : system.missingmethodexception

maybe it helps.

Regards,

Djordje
Aleksey wrote:Hello,

We made some improvements in that direction about a week ago. Please check the latest prerelease build.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Unhandled exceptation has occurred

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please send us a simple test application which reproduces the problem.

Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Unhandled exceptation has occurred

Post by xss »

dikan wrote:Some improvements are obvious. I have no problem on my developer machine but on a client PC I receive UHE and message for Microsoft is
EventType : clr20r3 P1 : konobari.exe P2 : 0.0.0.0 P3 : 4cbd8942
P4 : stimulsoft.base P5 : 2010.2.800.0 P6 : 4cb4bad5 P7 : 499
P8 : 27 P9 : system.missingmethodexception

maybe it helps.

Regards,

Djordje
Aleksey wrote:Hello,

We made some improvements in that direction about a week ago. Please check the latest prerelease build.

Thank you.
Hi, seems the client PC is missing an internal .Net Framework method. Try to install the latest service pack for your .Net Framework.

Greets, xss
Post Reply