Developers community number 1 connection string reference

Accessing a database on a local network

Posted 2011-05-06 02:36
by Brad Henderson
in the SQL Server Forum
I am trying to run a vb 2010 application using sql express 2008. I have the app on the server (ELDSRV1) and an instance og sql 2008 on both the server and my workstation (ELDWK1). I can run the app from the server but it won't find the mdf file when I run it from the workstation (using a shortcut to the exe.)
Any clues?? In the connection string I refer to the Data Source as ELDSRV1\SQLEXPRESS and the database as E:\ELD\DATA\MyFile.mdf. The E designation is the servers drive letter while the workstation refers to the drive as P: could this be the problem??
Any help would be appreciated
Thanks
Brad
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.