Visual Studio 2015 Update 3: "This project uses SQL Server Express LocalDB. Microsoft recommends using SQL Server Express with IIS"

Using Visual Studio 2015 Update 2 and Update 3

I get the following irrelevant error when opening my project:

This project uses SQL Server Express LocalDB. Microsoft recommends using SQL Server Express with IIS "

enter image description here

Before clicking "Don't ask again," I like to know what is at the root of a non-local warning and how to solve it correctly?

+8
visual-studio visual-studio-2015
source share
1 answer

"SQL Server Express" and "SQL Server Express LocalDB" are very different. The second is the file database, so you need to set up a connection string that defines the path where the .mdf file is located. The first is a real database server, so the connection string should include the server name (or public ip), username and password. A dialog box prompts you to download and install SQL Server Express, which is the best way to develop a database application.

https://msdn.microsoft.com/en-us/library/hh510202.aspx

+2
source share

All Articles