Home All Groups Group Topic Archive Search About

EventType clr20r3 system.io.filenotfoundexception

Author
31 Aug 2006 6:51 PM
Chris
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

Author
31 Aug 2006 7:30 PM
Chris
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.

--
Chris


Show quoteHide quote
"Chris" wrote:

> 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
>
>
Author
6 Sep 2006 1:55 PM
Jerker
So, wonderful. Thanks for your own reply. You made my day!