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
Probably a FAQ, but here goes:
I have a site I created with WebMatrix and the web gallery. Why do I have 2 sdf files? One is Umbraco.sdf and the other is Umbraco (computername).sdf.
Hi
Yes, that should be possible by just switching between the two different .sdf files you create in the web.config file:
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" /> <add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco-{your second file}.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
Then depending on which file to be used for which environment, you either comment or uncomment one of the sdf:s.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
2 sdf files?
Probably a FAQ, but here goes:
I have a site I created with WebMatrix and the web gallery. Why do I have 2 sdf files? One is Umbraco.sdf and the other is Umbraco (computername).sdf.
Hi
Yes, that should be possible by just switching between the two different .sdf files you create in the web.config file:
Then depending on which file to be used for which environment, you either comment or uncomment one of the sdf:s.
is working on a reply...