Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have this error on my software after execute time. i have use server based sql database sample.mdf. I create setup file on my project it is build successfully after I have this Error. how can I solve this Problem I beginner of .exe file creation.

   an attempt to attach an auto-named database for file .mdf failed.A database with the same name exists or specifiet files cannot be opened or it is located on UNC share in windows application
Posted
Comments
DamithSL 14-Jan-15 0:58am    
are you get this error when you run setup file?
jeevakumar.T 14-Jan-15 1:06am    
No , i got error only run time. I give input on my project show this error friend.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900