G
GG
I had a visual basic .net application u0 and running on a pc with sql server
user mdf file.. I moved the application to a nother pc along with the mdf
and ldf files.
the ruser running the recompiled application does have full access to the
directory holding the mdf file and its ldf file however I got this error
---------------------------
Microsoft Visual Studio
---------------------------
myDBDataSet.CodeTable.Fill,GetData () could not be previewed.
An attempt to attach an auto-named database for file d:\\MDF\myDB.mdf
failed. A database with the same name exists, or specified file cannot be
opened, or it is located on UNC share.
---------------------------
OK Help
---------------------------
the connection string is
Data Source=.\SQLEXPRESS;
AttachDbFilename=d:\MDF\IeStringTmp.mdf;
Integrated Security=True;
Connect Timeout=30;
User Instance=True
I do notice the ldf file is named d:\MDF\IeStringTmp_log.LDF
is this normail?
also what should I do with the connection string to make it work?
user mdf file.. I moved the application to a nother pc along with the mdf
and ldf files.
the ruser running the recompiled application does have full access to the
directory holding the mdf file and its ldf file however I got this error
---------------------------
Microsoft Visual Studio
---------------------------
myDBDataSet.CodeTable.Fill,GetData () could not be previewed.
An attempt to attach an auto-named database for file d:\\MDF\myDB.mdf
failed. A database with the same name exists, or specified file cannot be
opened, or it is located on UNC share.
---------------------------
OK Help
---------------------------
the connection string is
Data Source=.\SQLEXPRESS;
AttachDbFilename=d:\MDF\IeStringTmp.mdf;
Integrated Security=True;
Connect Timeout=30;
User Instance=True
I do notice the ldf file is named d:\MDF\IeStringTmp_log.LDF
is this normail?
also what should I do with the connection string to make it work?