User (Legacy) Posted April 17, 2003 Report Share Posted April 17, 2003 I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct the InvalidCastException in the Dispose method. However, now whenever I call Application.DoEvents() (since some of my queries are long running) I get a new Exception. Message "External component has thrown an exception." string _COMPlusExceptionCode 0xe0434f4d int _HResult 0x80004005 int StackTrace " at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.RunDialog(Form form)\r\n at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at System.Windows.Forms.Form.ShowDialog()\r\n at APSES.ISOReporting.MainForm..ctor() in c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 31\r\n at APSES.ISOReporting.MainForm.Main() in c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" string Has anyone else experienced this? boB Taylor MCSD, MCDBA, MCSE Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 17, 2003 Author Report Share Posted April 17, 2003 I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct the InvalidCastException in the Dispose method. However, now whenever I call Application.DoEvents() (since some of my queries are long running) I get a new Exception. Message "External component has thrown an exception." string _COMPlusExceptionCode 0xe0434f4d int _HResult 0x80004005 int StackTrace " at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.RunDialog(Form form)\r\n at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at System.Windows.Forms.Form.ShowDialog()\r\n at APSES.ISOReporting.MainForm..ctor() in c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 31\r\n at APSES.ISOReporting.MainForm.Main() in c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" string Has anyone else experienced this? boB Taylor MCSD, MCDBA, MCSE Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 17, 2003 Author Report Share Posted April 17, 2003 It turns out that I had also installed Visual Studio Tools for Office today. Uninstalling that clears the problem. Thanks anyway! boB "boB Taylor MCDBA, MCSD, MCSE 460521" <bobt@avanade.com> wrote in message news:ujg1RxUBDHA.2548@webserver1.softwarefx.com... > I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct > the InvalidCastException in the Dispose method. > > However, now whenever I call Application.DoEvents() (since some of my > queries are long running) > I get a new Exception. > > Message "External component has thrown an exception." string > > _COMPlusExceptionCode 0xe0434f4d int > > _HResult 0x80004005 int > > StackTrace " at > System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at > System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho > ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, > Int32 pvLoopData)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.Application.RunDialog(Form form)\r\n at > System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at > System.Windows.Forms.Form.ShowDialog()\r\n at > APSES.ISOReporting.MainForm..ctor() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line > 31\r\n at APSES.ISOReporting.MainForm.Main() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" > string > > Has anyone else experienced this? > boB Taylor MCSD, MCDBA, MCSE > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 17, 2003 Author Report Share Posted April 17, 2003 It turns out that I had also installed Visual Studio Tools for Office today. Uninstalling that clears the problem. Thanks anyway! boB "boB Taylor MCDBA, MCSD, MCSE 460521" <bobt@avanade.com> wrote in message news:ujg1RxUBDHA.2548@webserver1.softwarefx.com... > I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct > the InvalidCastException in the Dispose method. > > However, now whenever I call Application.DoEvents() (since some of my > queries are long running) > I get a new Exception. > > Message "External component has thrown an exception." string > > _COMPlusExceptionCode 0xe0434f4d int > > _HResult 0x80004005 int > > StackTrace " at > System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at > System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho > ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, > Int32 pvLoopData)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.Application.RunDialog(Form form)\r\n at > System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at > System.Windows.Forms.Form.ShowDialog()\r\n at > APSES.ISOReporting.MainForm..ctor() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line > 31\r\n at APSES.ISOReporting.MainForm.Main() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" > string > > Has anyone else experienced this? > boB Taylor MCSD, MCDBA, MCSE > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 18, 2003 Author Report Share Posted April 18, 2003 Actually it was not VSTO! The issue seems to be EnableVisualStyles() when called from Main, if you then use a dialog that calls Application.DoEvents() "boB Taylor MCDBA, MCSD, MCSE 460521" <bobt@avanade.com> wrote in message news:ujg1RxUBDHA.2548@webserver1.softwarefx.com... > I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct > the InvalidCastException in the Dispose method. > > However, now whenever I call Application.DoEvents() (since some of my > queries are long running) > I get a new Exception. > > Message "External component has thrown an exception." string > > _COMPlusExceptionCode 0xe0434f4d int > > _HResult 0x80004005 int > > StackTrace " at > System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at > System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho > ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, > Int32 pvLoopData)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.Application.RunDialog(Form form)\r\n at > System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at > System.Windows.Forms.Form.ShowDialog()\r\n at > APSES.ISOReporting.MainForm..ctor() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line > 31\r\n at APSES.ISOReporting.MainForm.Main() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" > string > > Has anyone else experienced this? > boB Taylor MCSD, MCDBA, MCSE > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 18, 2003 Author Report Share Posted April 18, 2003 Actually it was not VSTO! The issue seems to be EnableVisualStyles() when called from Main, if you then use a dialog that calls Application.DoEvents() "boB Taylor MCDBA, MCSD, MCSE 460521" <bobt@avanade.com> wrote in message news:ujg1RxUBDHA.2548@webserver1.softwarefx.com... > I upgraded today to version 6.0.1180.29724 of ChartFxLite, mainly to correct > the InvalidCastException in the Dispose method. > > However, now whenever I call Application.DoEvents() (since some of my > queries are long running) > I get a new Exception. > > Message "External component has thrown an exception." string > > _COMPlusExceptionCode 0xe0434f4d int > > _HResult 0x80004005 int > > StackTrace " at > System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n at > System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho > ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, > Int32 pvLoopData)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, > ApplicationContext context)\r\n at > System.Windows.Forms.Application.RunDialog(Form form)\r\n at > System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n at > System.Windows.Forms.Form.ShowDialog()\r\n at > APSES.ISOReporting.MainForm..ctor() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line > 31\r\n at APSES.ISOReporting.MainForm.Main() in > c:\\aps\\code\\apses.isoreporting\\apses.isoreporting\\mainform.cs:line 128" > string > > Has anyone else experienced this? > boB Taylor MCSD, MCDBA, MCSE > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.