FIX: Error message when you upgrade a very large database to SQL Server Compact 3.5: "The database file is larger than the configured maximum database size. This setting takes effect on the first concurrent database connection only"

Article translations Article translations
Article ID: 971027 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have a very large database (VLDB) in Microsoft SQL Server 2005 Compact Edition. For example, the size of the database file is close to 2 gigabytes (GB). You use one of the following methods to upgrade the database to Microsoft SQL Server Compact 3.5:
  • You use the SqlCeEngine.Upgrade method.
  • You use the upgrade option requested in the Upgrade to SQL Server Compact 3.5 Database dialog box.
    Note The upgrade option requested in the Upgrade to SQL Server Compact 3.5 Database dialog box uses the SqlCeEngine.Upgrade method.
During the upgrade, you receive the following error message:
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) = <FileSize>]
Note <FileSize> represents the file size of the database that is being upgraded.

The problem persists even if you set a large value for the following property:
  • The Max Database Size property in Visual Studio 2008

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

There are no prerequisites for installing this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of SQL Server 2005 Compact Edition
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
Sqlceca35.dll3.5.5692.12341,90411-Jun-200901:16
Sqlcecompact35.dll3.5.5692.1282,83211-Jun-200901:16
Sqlceer35en.dll3.5.5692.12145,29611-Jun-200901:16
Sqlceme35.dll3.5.5692.1261,84011-Jun-200901:16
Sqlceoledb35.dll3.5.5692.12169,36011-Jun-200901:16
Sqlceqp35.dll3.5.5692.12640,91211-Jun-200901:16
Sqlcese35.dll3.5.5692.12345,48811-Jun-200901:16
System.data.sqlserverce.entity.dll3.5.5692.12227,23211-Jun-200900:02
System.data.sqlserverce.dll3.5.5692.12268,19211-Jun-200900:02
System.data.sqlserverce.dll3.5.5692.12268,19211-Jun-200900:03
System.data.sqlserverce.entity.dll3.5.5692.12227,23211-Jun-200900:03
For all supported x64-based versions of SQL Server 2005 Compact Edition
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlceca35.dll3.5.5692.12572,81611-Jun-200903:07x64
Sqlcecompact35.dll3.5.5692.12117,12011-Jun-200903:07x64
Sqlceer35en.dll3.5.5692.12145,80811-Jun-200903:07x64
Sqlceme35.dll3.5.5692.1285,39211-Jun-200903:07x64
Sqlceoledb35.dll3.5.5692.12257,40811-Jun-200903:07x64
Sqlceqp35.dll3.5.5692.121,130,88011-Jun-200903:07x64
Sqlcese35.dll3.5.5692.12641,92011-Jun-200903:07x64
System.data.sqlserverce.entity.dll3.5.5692.12227,21611-Jun-200901:53x86
System.data.sqlserverce.dll3.5.5692.12268,19211-Jun-200901:53x86
System.data.sqlserverce.dll3.5.5692.12268,19211-Jun-200901:54x86
System.data.sqlserverce.entity.dll3.5.5692.12227,23211-Jun-200901:54x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The Upgrade to SQL Server Compact 3.5 Database dialog box appears in the following way:
  • In Visual Studio 2008, you add a connection to the database. In the Add Connection dialog box, you specify the database of SQL Server 2005 Compact Edition.

REFERENCES

For more information about the SqlCeEngine.Upgrade method, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/system.data.sqlserverce.sqlceengine.upgrade.aspx
For more information about the Incremental Servicing Model, click the following article number to view the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 971027 - Last Review: July 3, 2009 - Revision: 1.1
APPLIES TO
  • Microsoft SQL Server Compact 3.5
Keywords: 
kbsurveynew kbhotfixserver kbautohotfix kbexpertiseadvanced kbqfe kbfix KB971027

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com