Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Olsen 1 post 21 karma points
    Nov 20, 2012 @ 22:45
    Anders Olsen
    0

    How to increase database size?

    Hej,

    Suddenly, I get the following error when trying to modify my Umbraco sqlce database.

    The database file is larger than the configured maximum database size. This setting takes effect on the first concurrent database connection only. [ Required Max Database Size (in MB; 0 if unknown) = 257 ]

    How and where can I increase the database size?

    Thanks for your help

  • Brendan Rice 538 posts 1102 karma points
    Nov 21, 2012 @ 01:12
    Brendan Rice
    2

    Hi Anders,

    hopefully the following stack overflow answer will help:

    http://stackoverflow.com/questions/2408480/increase-the-size-of-sql-compact-3-5-sdf-file-using-c-sharp

    Hope you get it sorted...

  • İdris 34 posts 184 karma points
    Jan 02, 2014 @ 12:19
    İdris
    0

    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" />

Please Sign in or register to post replies

Write your reply to:

Draft