Posted on: 6/2/2012 6:43:27 AM | Views : 246

i have a  problem i have a application and database work on sqlexpress edition in the connectionstring iit was"Data Source=.\SQLEXPRESS; AttachDbFilename=|DataDirectory|\MyDatabase.mdf;user instance=true;Integrated Security=True;Initial Catalog=MyDatabase"
when i made a setup to the project it install in the c:\ProgramFiles\MyProg when i run the app the mesaage appers to me
database 'mydatabase' already exists.choose a different database name cannot attach the file'C:\programFiles\Myprog\mydatabase.mdf' as database 'MyDatabase'.
so what the probelm and how can i solve it
thx

...

Go to the complete details ...