CabinFever
Programmer
All Done Local on computer that has both VB2008 Express and SQL 2008 Express installed on it.
If my connection string looks like the following it WORKS.
Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\SSPE_InterCOMM.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
Why can't I share the containing folder and map it. For example as Y?
Data Source=.\SQLEXPRESS;AttachDbFilename="Y:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\SSPE_InterCOMM.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
I get "This connection cannot be tested because the specified database file does not exist."
I was hoping to be able to set it up this way so that this application can be ran on remote computers all with a mapped drive back to mine.
If my connection string looks like the following it WORKS.
Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\SSPE_InterCOMM.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
Why can't I share the containing folder and map it. For example as Y?
Data Source=.\SQLEXPRESS;AttachDbFilename="Y:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\SSPE_InterCOMM.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True
I get "This connection cannot be tested because the specified database file does not exist."
I was hoping to be able to set it up this way so that this application can be ran on remote computers all with a mapped drive back to mine.