Finding dll file by //IP Address/shared folder or //Computer Name/Shared Folder on Server
Posted on 2007-11-27
We developed business application using Oracle 10g as the database and VB.Net as front end. Application has One exe and approx 100 dll files for various forms which are called by reflection and loaded at run time.
1. Server is Windows 2003 server which has Framework and Crsyatl reports .net runtime installed. It also has Oracle 10g database server. We created shared folder say kcpl at windows 2003 server and placed exe file and all dll files in that folder.
2..Framework and Crystal reports .net runtime are instralled at the Server and each Node
When we copy the software .i.e exe file and all indiividual form dll files onto the each Node separate., they work properly.
We wish to place all the software files (exe and dll files) on the shared folder on Nerwork server which is Windows 2003 server. Shared folder is say kcpl
We want to create short cut of the exe file at the desktop and load individual dll file by reflection by
load . ('\\IP address\KCPL\????.dll) or by load . ('\\Computer Name\KCPL\????.dll)
a) We have experienced that many times loading the file by using IP address ('\\IP address\KCPL\????.dll) gives problem and it gives message as file not found whereas file actually is there. Ping of IP address is always OK of the Network computer
This problem is intermittent and sometimes it comes and sometimes it does not come. We wish to know a permamnent solution so that we never find this ''\\IP address\KCPL\????.dll' file not found.
b) We have experienced that many times loading the file by using Computer Name ('\Computer Name\KCPL\????.dll) gives problem and it gives message as file not found whereas file actually is there. Ping of Computer Name is not OK in that case and we need to add line in the Host file of that node
ip address computer name
and after that problem is OK. Can u guide us the way to eradicate this writing of manual line in the host file which is very technical aspect and cannot be done by oridnary usres. Then our technical persons need to support them personnaly in that case.
Noida - UP -India