07-22-2012 06:24 PM
Hi All,
I am using property loader to retrieve test settings from the database. I specify the database to read from using a .udl file.
When opening a database connection (using Open Database step type) I am able to specify the location of the .udl file as follows:
"FILE NAME=C:\\Development\\IW_EST_2\\TesterSoftware\\TS\\Database\\DatabaseConnection.udl;"
This works fine for now. However, I am not developing on the computer which the sequence will be deployed on. It is for this reason that I would like to use a relative path.
Is it possible to do this? If so, how?
Many thanks,
Cam.
Solved! Go to Solution.
07-23-2012 08:18 AM - edited 07-23-2012 08:18 AM
You can use a UNC naming convention to specify the location of the UDL.
A UNC replaces a drive letter with a machine name and share name.
Example of a connection string I use every day:
"FILE NAME=\\\\netapp1\\shared\\STE\\SPOTS.udl"
(note the quadruple backslashes in front of the machine name)
07-23-2012 08:57 PM
Thanks Phillip