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"

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

On This Page

SYMPTOMS

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.

Scenario 1

  • 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.

Scenario 2

  • 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.

CAUSE

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.

RESOLUTION

Hotfix information

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:
http://support.microsoft.com/contactus/?ws=support
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.

Prerequisites

You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.

Restart requirement

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.

File information

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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.visualstudio.dat a.providers.sqleverywhere.dll9.0.30729.4114323,58421-May- 200916:13x86

STATUS

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

MORE INFORMATION

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: 968436 - Last Review: October 7, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Studio 2008 Standard Edition
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe KB968436

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