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"
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.
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
Hotfix informationA 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: 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.
PrerequisitesThere are no prerequisites for installing this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace a previously released hotfix.
File informationThe 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
|File name||File version||File size||Date||Time|
For all supported x64-based versions of SQL Server 2005 Compact Edition
|File name||File version||File size||Date||Time||Platform|
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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.
For more information about the SqlCeEngine.Upgrade method, visit the following Microsoft Developer Network (MSDN) Web site:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problemsFor 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 packagesFor 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
upgrade Max File size
Article ID: 971027 - Last Review: 07/03/2009 10:22:27 - Revision: 1.1
Microsoft SQL Server Compact 3.5
- kbsurveynew kbhotfixserver kbautohotfix kbexpertiseadvanced kbqfe kbfix KB971027