locked
Web project requires SQL Server 2012 Express LocalDB RRS feed

  • Question

  • User-1793215261 posted

    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.

    Thanks

    Friday, January 18, 2019 10:37 AM

Answers

  • User-1716253493 posted

    AFAIK, you can use another newer version

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 18, 2019 1:10 PM

All replies

  • User-1716253493 posted

    Check web.config connectionstrings, seem like project template include default database such as membership provider

    Friday, January 18, 2019 11:06 AM
  • User-1793215261 posted

    I have this in Web.config:

      <membership defaultProvider="DefaultMembershipProvider">
          <providers>
            <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
          </providers>
        </membership>

    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?

    Thanks again

    Friday, January 18, 2019 11:58 AM
  • User-1716253493 posted

    AFAIK, you can use another newer version

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 18, 2019 1:10 PM
  • User-1793215261 posted

    I have downloaded the SQL Server 2017 Express version. How would I check (folder?) that 'LocalDB' has been installed, please?

    Friday, January 18, 2019 2:34 PM
  • User-1793215261 posted

    That warning has gone now, one_d. Thank you.

    Friday, January 18, 2019 9:11 PM