How to update sql in visual studio 2015

Asked

Viewed 156 times

3

I am in an ASP MVC project. When I try to log in or use the database the following error occurs:

The database 'aspnet-Nerdchest-20160621052548' cannot be opened because it is version 852. This server Supports version 851 and earlier. A downgrade path is not supported. Cannot open database "aspnet-Nerdchest-20160621052548" requested by the login. The login failed. Login failed for user 'FELIPE-PC Felipe'.

I just updated the sql in what ta server and the pc that I work with it ta older and even so do not let use sql... my db is already in the pattern (Localdb) Mssqllocaldb. I don’t know what else to do

  • Dude, don’t keep creating multiple questions for the same subject, be patient for someone to answer your question if you need to change and clarify your mistake.

  • pardon... axei that had asked the question in stack in inglish

1 answer

1

Felipe, Your question was missing some data, like

  • what version of Vsstudio do you use
  • the name of the bank instance
  • If the bank is Sqlexpress localdb as a service

If localdb follows this solution for VS 2013 Try changing Tools > Options > Database Tools > Data Connections > SQL Server Instance Name. The default for VS2013 is (Localdb) v11.0 , this being localdb SQL 2012

Switch to (Localdb) Mssqllocaldb

  • 2

    Actually there is no lack of information. This error only occurs with Microsoft SQL Server Localdb.

  • loss... use of Vscommunity 2015... Localdb... I’m using the Identity of the mvc that comes ready... I only made some changes to the table adding the fields I needed... the instance is already with the name Padra (Localdb) Mssqllocaldb

Browser other questions tagged

You are not signed in. Login or sign up in order to post.