Last post Jan 18, 2019 09:11 PM by Bluenose
Jan 18, 2019 10:37 AM|Bluenose|LINK
What does this warning mean, please? When I open up my Web project in VS 2017 Community, I get the following warning:
'Web project requires SQL Server 2012 Express LocalDB, which is not installed on this computer.
To upgrade the project database to use latest SQL Server Express LocalDB, double-click the database file and follow the instructions. Note: After this upgrade, the project database
can't be modified using earlier versions of Visual Studio.
To continue using the same database for this project, install it from the Microsoft Download Centre'(link).
What does this message mean, please, because my project has no database.
Jan 18, 2019 11:06 AM|oned_gk|LINK
Check web.config connectionstrings, seem like project template include default database such as membership provider
Jan 18, 2019 11:58 AM|Bluenose|LINK
I have this in Web.config:
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
Plus numerous references to DotNetOpenAuth.
I am happy to install SQL Server 2012 Express LocalDB but the link to the Microsoft download page tells me that SQL Server 2012 Express LocalDB is for Windows 7 (I have Windows 10), so I cannot install it.
Should I just ignore the warning in Visual Studio and leave Web.config as it is?
Jan 18, 2019 01:10 PM|oned_gk|LINK
AFAIK, you can use another newer version
Jan 18, 2019 02:34 PM|Bluenose|LINK
I have downloaded the SQL Server 2017 Express version. How would I check (folder?) that 'LocalDB' has been installed, please?
Jan 18, 2019 09:11 PM|Bluenose|LINK
That warning has gone now, one_d. Thank you.