I have created a database in App_Data
and I want to use this file in my project.
In the toolbar I grabbed the sqlDatasource
. I clicked on Configure data source
. I chose Microsoft SQL Server database file and said continue. I browsed for the file. I chose it then I clicked ok. The following error occurred:
I says the database myweb.mdf cannot be opened because it is version 661 and the server version is 662 and earlier: create database is aborted. The attempt to attached an auto-named database for the \app-data\myweb.mdf
failed. A database with the same name exists or specified file cannot be opened or it is located on UNC share.