Error message when you use the Visual Studio 2008 IDE to manipulate a SQL Server Compact 3.5 Database file which is larger than 128 Megabytes: "The database file that is larger than the configured maximum database size"
When you use the Visual Studio 2008 IDE to manipulate a SQL Server Compact 3.5 Database file that is larger than 128 Megabytes, you receive the following error message:
The database file is larger than the configured maximum database size.
You experience this problem in one of the following scenarios.
You open Server Explorer in the Visual Studio IDE.
You right-click Data Connections and then you click Add Connection.
You select Microsoft SQL Server Compact 3.5 as the data source and then you connect to a database that is larger than 128 Megabytes.
You click Advanced and then you set the Max Database Size field to a number that is larger than 128 Megabytes.
You expand the tables in the database, you right-click a table and then you click Edit Table Schema in the shortcut menu.
You open a project that uses the Windows Forms Application template in the Visual Studio IDE.
You right-click the project in Solution Explorer, and then you add a new item that uses the Local Database Cache template.
You set a Microsoft SQL Server Compact 3.5 database as the client connection in the Configure Data Synchronization wizard.
You import tables to the database.
This problem occurs because the default value of the maxdatabasesize property is 128 Megabytes. However, this default value is not overridden even if you set the property explicitly in the Advanced Properties window.
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.
You do not have to restart the computer if no instance of Visual Studio is being used.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
The global 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.