﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » InfoBox unhandled exception</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 09:05:49 GMT</lastBuildDate><ttl>20</ttl><item><title>InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23789.aspx</link><description>I have an InfoBox that I display to let users know that some processing is taking place (not elegant, but functional).  After the processing is done, I want to remove the InfoBox, so I call the CloseAllAlerts method.  When running this from VS in debug mode, everything works fine.  However, when the runtime EXE is running, I get an unhandled exception from it.&lt;br&gt;
&lt;br&gt;
Any ideas?</description><pubDate>Wed, 08 Jul 2009 15:51:12 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23798.aspx</link><description>I'll see if I can reproduce.</description><pubDate>Wed, 08 Jul 2009 15:51:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23795.aspx</link><description>Yes I can.  Code as follows:&lt;br&gt;
&lt;br&gt;
            InfoBox.NotifyBoxSettings.CardinalPosition = MessagingCardinalPosition.Center;&lt;br&gt;
            InfoBox.NotifyBoxSettings.SpecialEffect = InfoBoxSpecialEffect.Fade;&lt;br&gt;
            InfoBox.NotifyBoxSettings.Opacity = 100;&lt;br&gt;
            InfoBox.NotifyBoxSettings.Timeout = 999999999;&lt;br&gt;
            InfoBox.NotifyBox("Data is being processed.  Please wait.");&lt;br&gt;
&lt;br&gt;
Then after the processing is done:  (Note: in simple app I added a button to call this method)&lt;br&gt;
&lt;br&gt;
            InfoBox.CloseAllAlerts();</description><pubDate>Wed, 08 Jul 2009 15:29:32 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23794.aspx</link><description>It looks like a ThreadAbortException is occurring.  Can you reproduce this outside of your application in a simple sample?</description><pubDate>Wed, 08 Jul 2009 15:09:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23793.aspx</link><description>See the end of this message for details on invoking &lt;br&gt;
just-in-time (JIT) debugging instead of this dialog box.&lt;br&gt;
&lt;br&gt;
************** Exception Text **************&lt;br&gt;
System.Threading.ThreadAbortException: Thread was being aborted.&lt;br&gt;
   at System.Drawing.SafeNativeMethods.Gdip.FindAtom(String lpString)&lt;br&gt;
   at System.Drawing.SafeNativeMethods.Gdip.GdipDisposeImage(HandleRef image)&lt;br&gt;
   at System.Drawing.Image.Dispose(Boolean disposing)&lt;br&gt;
   at System.Drawing.Image.Dispose()&lt;br&gt;
   at MicroFour.StrataFrame.Messaging.InfoBox.AlertForm_FormClosed(Object sender, FormClosedEventArgs e)&lt;br&gt;
   at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)&lt;br&gt;
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
************** Loaded Assemblies **************&lt;br&gt;
mscorlib&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)&lt;br&gt;
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
DemeritReport&lt;br&gt;
    Assembly Version: 1.0.0.0&lt;br&gt;
    Win32 Version: 1.0.0.0&lt;br&gt;
    CodeBase: file:///C:/Development/DemeritReport/DemeritReport/bin/Debug/DemeritReport.exe&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Windows.Forms&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Drawing&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame UI&lt;br&gt;
    Assembly Version: 1.6.0.0&lt;br&gt;
    Win32 Version: 1.6.6.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20UI/1.6.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20UI.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
Microsoft.VisualBasic&lt;br&gt;
    Assembly Version: 8.0.0.0&lt;br&gt;
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame Base&lt;br&gt;
    Assembly Version: 1.6.0.0&lt;br&gt;
    Win32 Version: 1.6.6.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20Base/1.6.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20Base.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Data&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Xml&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame Business&lt;br&gt;
    Assembly Version: 1.6.0.0&lt;br&gt;
    Win32 Version: 1.6.6.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20Business/1.6.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20Business.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Web&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.Windows.Forms&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/10.2.3600.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.Shared&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Shared/10.2.3600.0__692fbea5521e1304/CrystalDecisions.Shared.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportSource&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Configuration&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.CrystalReports.Engine&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.2.3600.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Transactions&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.EnterpriseServices&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.CommLayer&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.ClientDoc&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.DataSetConversion&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.DataDefModel&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.Controllers&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.CubeDefModel&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.ReportAppServer.ReportDefModel&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/10.2.3600.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.KeyCode&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.KeyCode/10.2.3600.0__692fbea5521e1304/CrystalDecisions.KeyCode.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Web.Services&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
CrystalDecisions.Web&lt;br&gt;
    Assembly Version: 10.2.3600.0&lt;br&gt;
    Win32 Version: 10.2.51014.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/CrystalDecisions.Web/10.2.3600.0__692fbea5521e1304/CrystalDecisions.Web.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
&lt;br&gt;
************** JIT Debugging **************&lt;br&gt;
To enable just-in-time (JIT) debugging, the .config file for this&lt;br&gt;
application or computer (machine.config) must have the&lt;br&gt;
jitDebugging value set in the system.windows.forms section.&lt;br&gt;
The application must also be compiled with debugging&lt;br&gt;
enabled.&lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
&lt;configuration&gt;&lt;br&gt;
    &lt;system.windows.forms jitDebugging="true" /&gt;&lt;br&gt;
&lt;/configuration&gt;&lt;br&gt;
&lt;br&gt;
When JIT debugging is enabled, any unhandled exception&lt;br&gt;
will be sent to the JIT debugger registered on the computer&lt;br&gt;
rather than be handled by this dialog box.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 08 Jul 2009 15:07:50 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23792.aspx</link><description>Yeah, Edhy is correct in that we need to know what the exception is.  Thanks. :)</description><pubDate>Wed, 08 Jul 2009 14:56:11 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: InfoBox unhandled exception</title><link>http://forum.strataframe.net/FindPost23791.aspx</link><description>Hi Doug,&lt;br&gt;
&lt;br&gt;
Please post the unhandled exception error.</description><pubDate>Wed, 08 Jul 2009 14:42:08 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>