Wednesday, April 29, 2015

3 Layer architecture with program and website

You say its crashing on connection.Open() what is the error you getting?


Fouad Roumieh

He posted the exception above:

System.Data.SqlClient.SqlException
An attempt to attach an auto-named database for file C:\<myPathToDatabase>\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Mark as answer or vote as helpful if you find it useful | Igor

No comments:

Post a Comment