I have written my application with the data file being a sql server .mdf file currently stored on my hard drive.
However the intention is to have the file on a file server so that the client will be on users computers and the database on the server.
I just tested my app with the .mdf file on a file server and got this error:
The file "\\maze\pcc$\Developer\TestDB\TestSQL.mdf" is on a network path that is not supported for database files.
An attempt to attach an auto-named database for file "\\maze\pcc$\Developer\TestDB\TestSQL.mdf" failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Oh please PLEASE tell me I can access an mdf file on the network!!
I am in BIG s**t if it it is not possible.
If not can anyone please suggest a way to save my bacon?
For the record a SQL Server instance on this or any other server is out of the question!
I thought that as VS.NET provided all the divers etc it would work.
I am in meltdown panic mode!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
However the intention is to have the file on a file server so that the client will be on users computers and the database on the server.
I just tested my app with the .mdf file on a file server and got this error:
The file "\\maze\pcc$\Developer\TestDB\TestSQL.mdf" is on a network path that is not supported for database files.
An attempt to attach an auto-named database for file "\\maze\pcc$\Developer\TestDB\TestSQL.mdf" failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Oh please PLEASE tell me I can access an mdf file on the network!!
I am in BIG s**t if it it is not possible.
If not can anyone please suggest a way to save my bacon?
For the record a SQL Server instance on this or any other server is out of the question!
I thought that as VS.NET provided all the divers etc it would work.
I am in meltdown panic mode!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!