i made a c# .net 3.5 windows application and then i published the files (including the database file also in the project).
when i install it on pc it gives the error cannot attach database .database with same name exist or it is in UNC etc.
i changed the database name of project to entirely new name .then made appropriate changes.but still it again gives the same error.
Setup not working
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jun 12, 2011, 9:11 PM EDT
nikhil mittal36 reputationPosted Jun 13, 2011, 12:09 AM EDT