EventType clr20r3, P1 picreationprocess.exe, P2 18.104.22.168, P3 47dac8ad, P4 picreationprocess, P5 22.214.171.124, P6 47dac8ad, P7 18, P8 7, P9 system.io.filenotfoundexception, P10 NIL.
If you create a console application in .Net and XP environment, the .exe of the application can be run on the local machine without any errors. When trying to copy the files and folders from the local machine to a Server (Windows 2003 Server) and try to run the same exe it will throw the above specified error.
Windows 2003 Server has lot of security related configurations which is a nightmare and one such thing with the server is it needs all the *.dll files in the bin directory of the project. If the files are not in the directory then it will throw the error. So when copying the files and folders make sure you copy all the dependencies (all the referenced class libraries, dlls, references, etc.,) along with them. Copy the "System" related dlls files as well.
There are several reasons for the above error and this is one such reason in the myriad of reasons. Please feel free to contact me if you have any questions related to this article
Passei um dia inteiro procurando uma solução.
Thanks for your valuable help.But i have doubt.if we build the console exe with released mode.may be it assign itself all the dependencies reference.Have any suggestion pleae intimate me..