VB App terminates before it hits the load event

supreme_good

Member
Joined
Sep 19, 2006
Messages
12
Programming Experience
Beginner
Hello all. I have a unique issue going on and I am hoping someone here has seen this before and can help.

I have a simple vb.net app written using MS Visual Studio 2008 with SP1 and .NET framework version 3.5. This app simply queries a MySQL table into a dataset, makes a csv file from that data and then uses Oracle SQL*LDR to load a local Oracle table. Nice and simple.

This app runs fine on just about any computer or workstation I have tested it on with no issues but when I move it to the workstation it will live on...it shuts down just before it hits the load event. I have tried to capture any errors but so far there do not seem to be any errors generated at any point...it simply terminates with no explanation.

I even went so far as to recreate the project from scratch and still got the same result. this phenomenon only seems to occur on the very pc I am expected to deploy to.

the only thing I know for sure is that it is getting at least as far as the declaration section of the form. Once it has dimmed all objects/variables/etc..it seems to just shut down.

Thanks for any clues!
 
Additional Information About This

So i looked at the event viewer to see if there was some clue about my program crashing and found this...

*******************************************************
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 3/1/2010
Time: 1:38:57 PM
User: N/A
Computer: IA-DSMDC-COG2
Description:
EventType clr20r3, P1 mrc_lineup_load.exe, P2 1.0.0.0, P3 4b8c1711, P4 mrc_lineup_load, P5 1.0.0.0, P6 4b8c1711, P7 d, P8 c6, P9 system.invalidoperationexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00 c.l.r.2.
0008: 30 00 72 00 33 00 2c 00 0.r.3.,.
0010: 20 00 6d 00 72 00 63 00 .m.r.c.
0018: 5f 00 6c 00 69 00 6e 00 _.l.i.n.
0020: 65 00 75 00 70 00 5f 00 e.u.p._.
0028: 6c 00 6f 00 61 00 64 00 l.o.a.d.
0030: 2e 00 65 00 78 00 65 00 ..e.x.e.
0038: 2c 00 20 00 31 00 2e 00 ,. .1...
0040: 30 00 2e 00 30 00 2e 00 0...0...
0048: 30 00 2c 00 20 00 34 00 0.,. .4.
0050: 62 00 38 00 63 00 31 00 b.8.c.1.
0058: 37 00 31 00 31 00 2c 00 7.1.1.,.
0060: 20 00 6d 00 72 00 63 00 .m.r.c.
0068: 5f 00 6c 00 69 00 6e 00 _.l.i.n.
0070: 65 00 75 00 70 00 5f 00 e.u.p._.
0078: 6c 00 6f 00 61 00 64 00 l.o.a.d.
0080: 2c 00 20 00 31 00 2e 00 ,. .1...
0088: 30 00 2e 00 30 00 2e 00 0...0...
0090: 30 00 2c 00 20 00 34 00 0.,. .4.
0098: 62 00 38 00 63 00 31 00 b.8.c.1.
00a0: 37 00 31 00 31 00 2c 00 7.1.1.,.
00a8: 20 00 64 00 2c 00 20 00 .d.,. .
00b0: 63 00 36 00 2c 00 20 00 c.6.,. .
00b8: 73 00 79 00 73 00 74 00 s.y.s.t.
00c0: 65 00 6d 00 2e 00 69 00 e.m...i.
00c8: 6e 00 76 00 61 00 6c 00 n.v.a.l.
00d0: 69 00 64 00 6f 00 70 00 i.d.o.p.
00d8: 65 00 72 00 61 00 74 00 e.r.a.t.
00e0: 69 00 6f 00 6e 00 65 00 i.o.n.e.
00e8: 78 00 63 00 65 00 70 00 x.c.e.p.
00f0: 74 00 69 00 6f 00 6e 00 t.i.o.n.
00f8: 20 00 4e 00 49 00 4c 00 .N.I.L.
0100: 0d 00 0a 00 ....


*******************************************************

Does any one know how to properly read this? Also, I see it reports this as a ".NET|RUNTIME 2.0 Error" - I am not using framework 2.0. I am completely at the mercy of this error and am really hoping someone here can give me a clue!
Thanks again.
 
Solution Found

Just wanted to follow up with what I have discovered. It turns out that the issue was with the program not being able to find and load a dll file.

For some reason the program was unable to find and load the SYSTEM.DATA.DATASETEXTENSIONS.dll file. Not exactly sure why it had no issues with this outside of this one machine but what I did was change the 'Copy Local' property to TRUE under the References tab and that cleared up my issues.

Thanks for the help and I hope this information will help someone else int he future.
:D
 
Back
Top