Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I'm trying to publish an Umbraco website using my local IIS
receiving error
Umbraco cannot start. A connection string is configured but Umbraco cannot connect to the database.
I'm using the Umbraco.sdf database within the application, any help with this much appreciated.
Hi Tom
Can you show your connection string in web.config?
Check please that application has full access to App_Data folder, folder permissions should be like described here:
https://our.umbraco.org/documentation/getting-started/setup/install/permissions
Thanks,
Alex
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
IUSER and IISIUSRS have w/r access to the Appdata folder
Maybe your Umbraco database file is locked or only admins can access it.
Really strange that Umbraco can't connect
I think I need to add user id and password into the connection string, something like
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1; user id=Tom;password=password" providerName="System.Data.SqlServerCe.4.0" />
Receiving a new error
Tom, can you move your SQLCE database to MSSQL server?
Usually, I use SQLServerCompactSQLiteToolbox visual studio extention:
https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox#review-details
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco cannot start. A connection string is configured but the Umbraco cannot connect to the database.
Hi, I'm trying to publish an Umbraco website using my local IIS
receiving error
Umbraco cannot start. A connection string is configured but Umbraco cannot connect to the database.
I'm using the Umbraco.sdf database within the application, any help with this much appreciated.
Hi Tom
Can you show your connection string in web.config?
Check please that application has full access to App_Data folder, folder permissions should be like described here:
https://our.umbraco.org/documentation/getting-started/setup/install/permissions
Thanks,
Alex
IUSER and IISIUSRS have w/r access to the Appdata folder
Maybe your Umbraco database file is locked or only admins can access it.
Really strange that Umbraco can't connect
I think I need to add user id and password into the connection string, something like
Receiving a new error
Tom, can you move your SQLCE database to MSSQL server?
Usually, I use SQLServerCompactSQLiteToolbox visual studio extention:
https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox#review-details
Thanks,
Alex
is working on a reply...