FIX: Heap corruption occurs when you use SQL Server Compact 3.5 Service Pack 2

Symptoms

Assume that you have an application that uses the following pattern to commit a transaction to a SQL Server Compact 3.5 database on a computer that is running SQL Server Compact 3.5 Service Pack 2:

using (SqlCeTransaction transaction = connection.BeginTransaction(IsolationLevel.Serializable)) {... transaction.Commit(CommitMode.Deferred); }
In this scenario, the application may crash intermittently.

Cause

The issue occurs because an error in SQL Server Compact 3.5. In certain situations, the internal class System.Data.SqlServerCe.Accessor may experience a heap corruption.

Resolution

The hotfix that resolves this problem is included in cumulative update package 2 for SQL Server Compact 3.5 Service Pack 2.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:

2289547 Cumulative Update 2 for SQL Server Compact 3.5 Service Pack 2

More Information

For more information about SqlCeTransaction Class, visit the following Microsoft website:


Status

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

References

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
プロパティ

文書番号:2300599 - 最終更新日: 2010/08/25 - リビジョン: 1

フィードバック