Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jul 11, 2016 @ 10:03
    Roberto Bianchi
    0

    Problem with db connection after moving on production server

    Hello, I had a website on local server and on localhost that's works.

    I choose to use a db with SQL CE Express.

    When I tried to transfer the website to the production server, I received an error on connection to the database:

    Umbraco cannot start. A connection string is configured but the Umbraco cannot connect to the database.

    The web.config string of the db connection is correct:

      <connectionStrings>
        <remove name="umbracoDbDSN" />
        <add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
        <!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
      </connectionStrings>
    

    Why I receive this problem?

  • Roberto Bianchi 137 posts 446 karma points c-trib
    Jul 11, 2016 @ 10:15
    Roberto Bianchi
    100

    I solved removing this string on web.config, appSettings section:

    <add key="umbracoConfigurationStatus" value="7.2.7" />
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies