Applies ToSQL Server Compact 3.5 Service Pack 2 Microsoft SQL Server Compact 3.5

Symptoms

Assume that you have Microsoft SQL Server Compact Edition 3.5 Service Pack 2 (SQL Server Compact 3.5 SP2) installed on the computer. When you try to create or open a SQL Server Compact 3.5 SP2 database file (.sdf file) on a shared network folder, you receive the following error message:

Error: Internal error. Cannot open shared memory.

Additionally, an exception that resembles the following is generated:

Exception type: System.Data.SqlServerCe.SqlCeExceptionMessage=Internal error: Cannot open the shared memory region.Source=SQL Server Compact ADO.NET Data ProviderHResult=-2147467259NativeError=25118

Note This issue occurs only in SQL Server Compact 3.5 SP2.

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 this specific problem. 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, submit a request to 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 website:

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

To apply this hotfix, you must exit all applications that are using SQL Server Compact. Then, you must uninstall any installations of Microsoft SQL Server Compact 3.5 SP2 and Microsoft SQL Server Compact 3.5 SP2 x64.Note This SQL Server Compact hotfix has a complete .msi package and does not replace a partial list of files from a previous installation.

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 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.For all supported x86-based versions of SQL Server Compact 3.5

File name

File version

File size

Date

Time

Platform

System.data.sqlserverce.entity.dll

3.5.8092.0

231,664

02-Jun-2012

02:31

x86

System.data.sqlserverce.dll

3.5.8092.0

297,200

02-Jun-2012

02:31

x86

Policy.3.5.system.data.sqlserverce.dll

3.5.8092.0

10,480

02-Jun-2012

02:31

x86

Policy.3.5.system.data.sqlserverce.entity.dll

3.5.8092.0

10,480

02-Jun-2012

02:31

x86

Sqlceca35.dll

3.5.8092.0

342,768

02-Jun-2012

02:31

x86

Sqlcecompact35.dll

3.5.8092.0

83,696

02-Jun-2012

02:31

x86

Sqlceer35en.dll

3.5.8092.0

147,696

02-Jun-2012

02:31

x86

Sqlceme35.dll

3.5.8092.0

63,728

02-Jun-2012

02:31

x86

Sqlceoledb35.dll

3.5.8092.0

169,712

02-Jun-2012

02:31

x86

Sqlceqp35.dll

3.5.8092.0

641,264

02-Jun-2012

02:31

x86

Sqlcese35.dll

3.5.8092.0

362,224

02-Jun-2012

02:31

x86

Microsoft.synchronization.data.sqlserverce.dll

3.5.8092.0

92,400

02-Jun-2012

02:31

x86

For all supported x64-based versions of SQL Server Compact 3.5

File name

File version

File size

Date

Time

Platform

System.data.sqlserverce.entity.dll

3.5.8092.0

231,664

02-Jun-2012

02:31

x64

System.data.sqlserverce.dll

3.5.8092.0

297,200

02-Jun-2012

02:31

x64

Sqlceca35.dll

3.5.8092.0

574,192

02-Jun-2012

02:31

x64

Sqlcecompact35.dll

3.5.8092.0

118,000

02-Jun-2012

02:31

x64

Sqlceer35en.dll

3.5.8092.0

148,208

02-Jun-2012

02:31

x64

Sqlceme35.dll

3.5.8092.0

89,840

02-Jun-2012

02:31

x64

Sqlceoledb35.dll

3.5.8092.0

257,776

02-Jun-2012

02:31

x64

Sqlceqp35.dll

3.5.8092.0

1,131,760

02-Jun-2012

02:31

x64

Sqlcese35.dll

3.5.8092.0

670,960

02-Jun-2012

02:31

x64

Microsoft.synchronization.data.sqlserverce.dll

3.5.8092.0

92,400

02-Jun-2012

02:31

x86

Status

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.