Re: 'System.InvalidOperationException'

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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?

.



Relevant Pages

  • Re: Compact Framework 2.0 team needs to finish the .NET CF 2.0 release
    ... So, break point is in EXE, is that right? ... This posting is provided "AS IS" with no warranties, ... First investigations seems that the IDE for some reason are not ... .NET Compact Framework MVP ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Building EXE Twice Produces Different Files
    ... I am using VB6 with SP6. ... I also did not close the IDE ... but now I have two different EXE files. ... the C2 compiler, but it ends up in the finished executable. ...
    (microsoft.public.vb.general.discussion)
  • Re: Start-Programm
    ... auch wenn die implizite Kompilierung von VFP anspringt. ... die aktuelle EXE im Test und nicht einen Teilbestand davon. ... Desweiteren kümmert sich MM mittels des SetX.prg darum, daß deine IDE ... Unter CTrl+F8 könnte man dann sowas wie 'Projekt Debug' packen und es ...
    (microsoft.public.de.fox)
  • Re: [VB6] UserControl und KeyEvents
    ... Klappt nicht in der IDE. ... Funktionieren KeyUp+Down mit den Pfeiltasten ... Auch ein UC im UC erhält die Events. ... Eigentlich wird das in der EXE für's MouseWheel. ...
    (de.comp.lang.misc)
  • Re: System.InvalidOperationException
    ... the dialog that has you sending a report to Microsoft. ... It might be helpful to see the exception message and stack trace. ... it doesn't show when I run from within the IDE ... I sent the EXE to a collegue who seems to be able to run it just fine. ...
    (microsoft.public.dotnet.framework)