Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 2300599 - Last Review: August 25, 2010 - Revision: 1.0
FIX: Heap corruption occurs when you use SQL Server Compact 3.5 Service Pack 2
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.
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.
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=2289547/
)
Cumulative Update 2 for SQL Server Compact 3.5 Service Pack 2
For more information about SqlCeTransaction Class, visit the following Microsoft website:
SqlCeTransaction Class
(http://msdn.microsoft.com/en-us/library/system.data.sqlserverce.sqlcetransaction(VS.90).aspx)
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684Â
(http://kbalertz.com/Feedback.aspx?kbNumber=824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO
- Microsoft SQL Server Compact 3.5
| kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2300599 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate