943,917 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 948
  • VB.NET RSS
You are currently viewing page 1 of this multi-page discussion thread
Sep 2nd, 2009
0

Compiled project error

Expand Post »
I compiled a project I made in visual studio 2008, but for some reason it only works on the computer it was created on, on any other computer I just get the "... has encountered and error and needs to be closed..." error message.
At first I thought it was cause I didn't install frameworks 3.5 on the other computer, but installing it solved nothing.

Any help would be appreciated.
Similar Threads
Reputation Points: 0
Solved Threads: 1
Light Poster
dorkwad is offline Offline
34 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

do you use any external dll as reference in your project? if so you need to ship them out with your applcation.
i.E you set a reference to ftp.dll then you need to hand out the interop.ftp.dll which is located in your Release folder.
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

No dll used, just a database which is in the rar along with the exe.
I even tried downloading the rar, extracting and using, still it works on the original pc and nowhere else.
Reputation Points: 0
Solved Threads: 1
Light Poster
dorkwad is offline Offline
34 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

ok can you please paste the first 5 lines from the error in here?
when the error occurs click on detail and copy the 5 lines. this might tell us whats going on
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

EventType : clr20r3 P1 : coder.exe P2 : 1.0.0.0 P3 : 4a967734
P4 : coder P5 : 1.0.0.0 P6 : 4a967734 P7 : d P8 : c6
P9 : system.invalidoperationexception

Thanks for trying to help
Reputation Points: 0
Solved Threads: 1
Light Poster
dorkwad is offline Offline
34 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

uhm that looks more like an error report to microsoft instead of the error i meant :o

you might attach your compiled exe (zipped) and i can check

ps. if its an trojan im gonna rip your head :p
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

A trojan with a database? =)
hope it was attached (change the extension to rar, it wouldn't allow me to upload it otherwise)
Attached Files
File Type: doc Coder.doc (535.5 KB, 21 views)
Reputation Points: 0
Solved Threads: 1
Light Poster
dorkwad is offline Offline
34 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

alright you are using Microsoft.VisualBasic.PowerPacks
pc's of "normal users" dont have that. so please read this article to solve that problem http://msdn.microsoft.com/en-us/libr...02(VS.80).aspx
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

Thank you very much for all your help.
Reputation Points: 0
Solved Threads: 1
Light Poster
dorkwad is offline Offline
34 posts
since Jun 2009
Sep 2nd, 2009
0

Re: Compiled project error

if everything is working please mark this thread as solved. ty =)
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Reading txt file and display record in Data Grid
Next Thread in VB.NET Forum Timeline: Running Code At shutdown





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC