Using Visual Studio 2015 Update 2 and Update 3
I am getting the following irrelevant error when I open my project:
This project uses SQL Server Express LocalDB. Microsoft recommends that you use SQL Server Express with IIS"
Before I click on "Don't ask again" I like to know what is the root of the irrelevant warning and how to address it properly?
Alternatively, you can install LocalDB through the Visual Studio Installer, as part of the Data Storage and Processing workload, the ASP.NET and web development workload, or as an individual component.
LocalDB is a lightweight version of the SQL Server Express Database Engine that is targeted for program development. LocalDB starts on demand and runs in user mode, so there is no complex configuration. SQL Server is the Microsoft-driven relational database management system.
"SQL Server Express" and "SQL Server Express LocalDB" are very different. The second one is a file-based database, so you need to configure the connection string specifying the path where the file .mdf is located. The first is a real database server, so the connection string must include the server name (or the public ip), the username and the password. The dialog simply suggest you to download and install SQL Server Express, that it's the best method to develop an application with database.
https://msdn.microsoft.com/en-us/library/hh510202.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With