'System.InvalidOperationException'

J

JoeM

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?
 
B

Brian Gideon

JoeM,

It might be helpful to see the exception message and stack trace. Can
you post them?

Brian
 
J

JoeM

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top