vb.exe problem?
vb.exe problem?
vb.exe problem?
vb.exe problem?
vb.exe problem?
vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem?
vb.exe problem? vb.exe problem?
vb.exe problem?
Go Back  Xtreme Visual Basic Talk > > > vb.exe problem?


Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2011, 09:02 AM
mitster mitster is offline
Newcomer
 
Join Date: Aug 2011
Posts: 3
Default vb.exe problem?


hey guys, i made an app with vb 2008 express and decided to use inno setup as my installer. i copied the .exe from the release folder and put it in the install package, but when everything is installed it gives the error "system.invalidoperationexception". is there anything that needs to be included maybe? the system had all necessary updates as far as i know. tried on a win7 system as well with no success.
Reply With Quote
  #2  
Old 08-12-2011, 09:49 AM
Qua's Avatar
Quavb.exe problem? Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

Are you sure this is an installation issue?

On what lines does it fail? What is the application doing when it fails?
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #3  
Old 08-12-2011, 11:18 AM
mitster mitster is offline
Newcomer
 
Join Date: Aug 2011
Posts: 3
Default

it works fine on the development computer installs and runs great. i just tried copying the entire release folder onto the other computer and launching and it gives the same ambiguous error.

"EventType : clr20r3 P1 : lg datatransfer [gagechek].exe P2 : 1.0.0.0
P3 : 4e022c02 P4 : lg datatransfer [gagechek] P5 : 1.0.0.0
P6 : 4e022c02 P7 : 19 P8 : c6 P9 : system.invalidoperationexception"
Reply With Quote
  #4  
Old 08-12-2011, 11:39 AM
Qua's Avatar
Quavb.exe problem? Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

I suspected as much. This means that it most likely isn't an installation error.

You need to gain access to the stack trace. This will tell you were in the code base the error occurred. You can then fix the fault. The easiest way to access the stack trace on the machine where the application is failing is to open the Event Viewer application and find the event log for the error.

See the picture attached for step-wise visual guide.
Attached Images
File Type: png eventviewer.png (217.9 KB, 5 views)
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #5  
Old 08-12-2011, 12:01 PM
PlausiblyDamp's Avatar
PlausiblyDampvb.exe problem? PlausiblyDamp is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Nov 2003
Location: Newport, Wales
Posts: 2,058
Default

Have you tried running the Debug version on the other computer? At least that way you are likely to get some useful debugging information displayed.
__________________
Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein

Posting Guidelines Forum Rules Use the code tags
Reply With Quote
  #6  
Old 08-15-2011, 07:05 AM
mitster mitster is offline
Newcomer
 
Join Date: Aug 2011
Posts: 3
Default

ok, i tried it with the 'click once' installer and it works! are there files besides the .exe from the release folder that i might need to make this work?

Last edited by mitster; 08-15-2011 at 07:15 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
vb.exe problem?
vb.exe problem?
vb.exe problem? vb.exe problem?
vb.exe problem?
vb.exe problem?
vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem? vb.exe problem?
vb.exe problem?
vb.exe problem?
 
vb.exe problem?
vb.exe problem?
 
-->