1
Vote

mdf failed a database with the same name exists. or specified cannot be opened or it located on UNC share c#.net(windows application)

description

mdf failed a database with the same name exists. or specified cannot be opened or it located on UNC share c#.net(windows application)

i use
<add name="constring" connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|App_Data\DBsystem.mdf;Integrated Security=True; Connect Timeout=20; User Instance=False" providerName="System.Data.SqlClient" />
Plz sir Help me
edit code

from India

file attachments

comments