to know the connection string of your Umbraco website, just go to the web.config file and search for ConnectionString.
Then you will see something like this:
<connectionStrings>
<remove name="umbracoDbDSN" />
<add name="umbracoDbDSN" connectionString="server=YOURSERVER;database=YOURDB;user id=YOURUSER;password='YOURPWD'" providerName="System.Data.SqlClient" />
<!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
</connectionStrings>
Then just copy and paste the connectionString property to your tool.
Thanks Michael for your help, I have tried that already but does not work.
Here's my connection string;
<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>
First i got this error (Keyword not supported: 'flush interval'.) so I have removed the (flush interval') and added (Persist Security Info=False;), but couldn't make the connection.
I used this:
Data Source=umbraco.sdf;Persist Security Info=False;
And this:
Data Source=C:\Umbraco.sdf;Persist Security Info=False;
Umbraco Local Connection String Path
Hello there,
I have a big sql file that i need to run in Umbraco database that located on the local machine using a tool as shown in the attached screenshot.
How to figure out what is the connection string for that database?
Thank you,
Hi Rayyan,
to know the connection string of your Umbraco website, just go to the web.config file and search for
ConnectionString
.Then you will see something like this:
Then just copy and paste the connectionString property to your tool.
Hope this helps.
/Michaël
Thanks Michael for your help, I have tried that already but does not work. Here's my connection string;
First i got this error (Keyword not supported: 'flush interval'.) so I have removed the (flush interval') and added (Persist Security Info=False;), but couldn't make the connection.
I used this:
And this:
Any idea please, Thank you
Hmmm you are using the SQL CE which is a file, I guess that is your issue.
Are you sure that the BigRunner tool can work with SQL CE?
/Michaël
Rayyan,
from what I can see in the docs of the BigRunner Tool, it will only work with a SQL Server instance.
/Michaël
Thanks Meesh! Do you know any alternative tools to execute big script?
Which work using SQL CE? Hmm not directly, maybe you can convert your SQL CE to a SQL Server instance?
/Michaël
Hi Guys
You can use "SqlCeToolbox" for moving database from MSSQL to SQLCE or back:
https://github.com/ErikEJ/SqlCeToolbox
Thanks,
Alex
Thank you guys, I think I will remain using (Compact View).
is working on a reply...