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>
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:
The web.config string of the db connection is correct:
Why I receive this problem?
I solved removing this string on web.config, appSettings section:
is working on a reply...
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.