A "friend" sent me an asp.net project. I've opened it in Visual Studio 2017. Everything seems fine, except that when I run it I get an error when it tries to use the internal database.
The offending line is:
GridBindingData data = RadGrid.GetBindingData("LinqToSql.NorthwindDataContext",
"Customers", startRowIndex, maximumRows, sortExpression, filterExpression.Replace("\\'", "'"));
which gives an error of:
System.Data.SqlClient.SqlException: 'The database 'C:\\APP_DATA\NORTHWND.MDF' cannot be opened because it is version 852. This server supports version 782 and earlier. A downgrade path is not supported.
Could not open new database
'C:\\APP_DATA\NORTHWND.MDF'. CREATE DATABASE is aborted.
An attempt to attach an auto-named database for file C:\\App_Data\NORTHWND.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.'
Now, from what I've researched this means that the project needs SQL server 2016, while I only have SQL server 2014. Ok, I downloaded SQL server 2016 express. Now I start the project, and still get the same error.
How do I configure either Visual Studio or my environment to get this project to use the correct version of SQL server?