|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
'System.InvalidOperationException'An unhandled exception of type 'System.InvalidOperationException' occurred
I am getting this error when running the built executable directly from the bin folder -- however, it doesn't show when I run from within the IDE (Debug). I've not tried it using Release - as I'm not wanting to "fix" the problem inadvertantly simply by switching modes (if that makes sense). I'm seeing lots of posts regarding this, but all seem general - and none of them, that I found, relate to running under the IDE vs the EXE. I sent the EXE to a collegue who seems to be able to run it just fine. I'd like to find out what it will take to get it working on my dev box, as I'm sure the first customer we install this on will have the same problem (don't ask me how I know, I just do -grin ) Help? JoeM,
It might be helpful to see the exception message and stack trace. Can you post them? Brian JoeM wrote: Show quote > An unhandled exception of type 'System.InvalidOperationException' occurred > > I am getting this error when running the built executable directly from the > bin folder -- however, it doesn't show when I run from within the IDE > (Debug). > > I've not tried it using Release - as I'm not wanting to "fix" the problem > inadvertantly simply by switching modes (if that makes sense). > > I'm seeing lots of posts regarding this, but all seem general - and none of > them, that I found, relate to running under the IDE vs the EXE. > > I sent the EXE to a collegue who seems to be able to run it just fine. I'd > like to find out what it will take to get it working on my dev box, as I'm > sure the first customer we install this on will have the same problem (don't > ask me how I know, I just do -grin ) > > Help? Thanks - its difficult finding this in 2005... I'm getting, when receiving
the error, the dialog that has you sending a report to Microsoft. I then click Debug and try to go from there: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: The type initializer for 'Falcon.PrintConsole.modGlobal' threw an exception." Source="Falcon.PrintConsole" StackTrace: at Falcon.PrintConsole.My.MyProject.MyForms.Create__Instance__[T](T Instance) at Falcon.PrintConsole.frmMain.Main() Does that help? Show quote "Brian Gideon" <briangid***@yahoo.com> wrote in message news:1156349243.636965.187530@m79g2000cwm.googlegroups.com... > JoeM, > > It might be helpful to see the exception message and stack trace. Can > you post them? > > Brian > > JoeM wrote: >> An unhandled exception of type 'System.InvalidOperationException' >> occurred >> >> I am getting this error when running the built executable directly from >> the >> bin folder -- however, it doesn't show when I run from within the IDE >> (Debug). >> >> I've not tried it using Release - as I'm not wanting to "fix" the problem >> inadvertantly simply by switching modes (if that makes sense). >> >> I'm seeing lots of posts regarding this, but all seem general - and none >> of >> them, that I found, relate to running under the IDE vs the EXE. >> >> I sent the EXE to a collegue who seems to be able to run it just fine. >> I'd >> like to find out what it will take to get it working on my dev box, as >> I'm >> sure the first customer we install this on will have the same problem >> (don't >> ask me how I know, I just do -grin ) >> >> Help? > |
|||||||||||||||||||||||