i am getting this error while trying to run the setup of a .net 3.5 c# windows application though there is no other database by the same name.
2011-06-19 17:02:27.45 spid51 Setting database option OFFLINE to ON for database E:\SOFTWARES GITPL\DOCTORS - COPY\DOCTORS\BIN\DEBUG\DATABASE1.MDF.
2011-06-19 17:03:55.14 Logon Error: 15350, Severity: 16, State: 1.
2011-06-19 17:03:55.14 Logon An attempt to attach an auto-named database for file C:\Users\V\AppData\Local\Apps\2.0\Data\3TOY7HCG.398\83RPOOLC.M3A\wind..tion_14b02bdb69f87d7b_0001.0000_cbabff92463e0622\Data\Database1.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
2011-06-19 17:05:58.70 Server CPU time stamp frequency has changed from 131453 to 1995257 ticks per millisecond. The new frequency will be used.

5 Years
Discussion Span
Last Post by __avd


Please verify the used connection string in an application. From the error description I can say that the location of database file is not resolved.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.