I need to increase my database limit. How can i add this code. Below you see my string, and i get "Object reference not set to an instance of an object."
<add name="umbracoDbDSN" connectionString="Data Source="D:\web sitesi yedek\Umbraco.sdf"; Max Database Size=4000"
How to add max data size to string
I need to increase my database limit. How can i add this code. Below you see my string, and i get "Object reference not set to an instance of an object."
<add name="umbracoDbDSN" connectionString="Data Source="D:\web sitesi yedek\Umbraco.sdf"; Max Database Size=4000"
providerName="System.Data.SqlServerCe.4.0" />
Hi Idris,
Have you tried to write it this way:
<add name="umbracoDbDSN" connectionString="Data Source="D:\web sitesi yedek\Umbraco.sdf";Max Database Size=256;Persist Security Info=False;" />
http://stackoverflow.com/questions/2408480/increase-the-size-of-sql-compact-3-5-sdf-file-using-c-sharp
Hope this helps,
/Dennis
You need to locate the connection string and add: Max Database Size = 4096 (4GB), it works. Wait for 10 minutes.
web.config file
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf ; Max Database Size=4096"
providerName="System.Data.SqlServerCe.4.0" />
is working on a reply...