EventType clr20r3 system.io.filenotfoundexception

G

Guest

I have an vb6 application which reads data from either a comm port or an IP
port and populates a SQL database.

I opened the application in VS2005 and let it convert the program. I
resolved all the errors and built the application. I then copied the entire
bin folder to a Windows 2003 server and ran the application. It needed .net
2.0, so I downloaded and and installed 2.0.

When I run the application now, it only gets to a point where the basic form
is displayed and then I get an exception in the Event log:

EventType clr20r3, P1 toteear.exe, P2 2.0.2433.15680, P3 44f5fdb9, P4
toteear,
P5 2.0.2433.15680, P6 44f5fdb9, P7 c0, P8 f9, P9
system.io.filenotfoundexception,
P10 NIL

All the dll's which this uses are in it's folder. If I use the Visual
Studio tool Depends to look at dependencies, there are 3 dll's which are
referenced and all 3 are in the System32 folder on the server.

Does anyone have any suggestions as to how I can find the cause of this error?

Thanks,

Chris
 
G

Guest

I just solved my problem.

I went back through my references and found that I needed a dll that wasn't
in the system32 folder. I changed the reference properties so that it would
copy local and then copied my bin folder to the server and it ran without the
error.
 

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