TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tangara G
NA
298
94k
How to rectify cannot be opened because it is version 852.
Oct 31 2016 2:54 AM
Hi,
I received the following message when I used VS2013 so I opened it in VS2015 but received the same message :
The database 'aspnet-MyFirstApp-20160718091622' cannot be opened because it is version 852. This server supports version 851 and earlier. A downgrade path is not supported.
Could not open new database 'aspnet-MyFirstApp-20160718091622'. CREATE DATABASE is aborted.
Cannot attach the file 'C:\Daryl-ASP.net\MyFirstApp\MyFirstApp\MyFirstApp\App_Data\aspnet-MyFirstApp-20160718091622.mdf' as database 'aspnet-MyFirstApp-20160718091622'.
I googled and found an answer in Stackoverflow but I am afraid if I followed the method to delete the bin file, what would happened if I want to use back VS2013.
For example, change to version 851 (13.0)
Open CMD , cd to folder of SqlLocalDB (Default : "C:\Program Files\Microsoft SQL Server\130\LocalDB\Binn")
Command "SqlLocalDB.exe delete "MSSQLLocalDB"" , The instance of LocalDB will be deleted.
Command "SqlLocalDB.exe create "MSSQLLocalDB"" , Then you'll see the instance of newest LocalDB version in your computer has been created.
Hope someone can advise me. Tks.
Reply
Answers (
1
)
How to handle a FormatException if the user inputs letters?
Calling methods C# -Having Trouble calling the methods