|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
EventType clr20r3 system.io.filenotfoundexceptionport 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 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. -- Show quoteHide quoteChris "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 > >
API FindFirstFile\FindNextFile vs GetFiles
How to Type cast ArrayList items to class objects Best practices for creating a "wizard" question about some good practises Question about 'Using' and resources formula for calculating sales tax (GST) VB 2005 with Active Directory Return DataRow User Controls basic question using com-port in VB.net |
|||||||||||||||||||||||