Microsoft Knowledge Base Email Alertz

KBAlertz.com: FIX: Error message when you try to delete the rows from the table in SQL Server 2005 Compact Edition or in SQL Server Compact 3.5: Major Error 0x80004005, Minor Error 0. Attempted to divide by zero

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 947002 - Last Review: March 24, 2008 - Revision: 1.3

FIX: Error message when you try to delete the rows from the table in SQL Server 2005 Compact Edition or in SQL Server Compact 3.5: "Major Error 0x80004005, Minor Error 0. Attempted to divide by zero"

Hotfix ImageHotfix Download Available
View and request hotfix downloads
Bug #: 50002288 (SQL Hotfix)
Microsoft distributes Microsoft SQL Server 2005 Compact Edition or SQL Server Compact 3.5 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 Compact Edition or SQL Server Compact 3.5 fix release.

On This Page

SYMPTOMS

Consider the following scenario. You have an application that inserts many rows into a table. The table is in a database in Microsoft SQL Server 2005 Compact Edition or in Microsoft SQL Server Compact 3.5. The application inserts the rows in multiple threads. Additionally, the application inserts more than 10 rows per second. In this scenario, you intermittently receive the following error message when you try to delete the rows from the table in the database:
Major Error 0x80004005, Minor Error 0. Attempted to divide by zero

RESOLUTION

SQL Server 2005 Compact Edition

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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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 Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note 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
No prerequisites are required.
Restart information
You do not have to restart the computer after you apply this hotfix.
Registry information
You do not have to change the registry.
Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English 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.

Hotfix for a Microsoft Windows CE .NET 4.2-based operating system on ARMV4i-based Pocket PC devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.dev.enu.ppc.wce4.armv4i.cabNot Applicable100,95201-Feb-200808:46Not Applicable
Sqlce30.ppc.wce4.armv4i.cabNot Applicable682,99101-Feb-200808:46Not Applicable
Sqlce30.repl.ppc.wce4.armv4i.cabNot Applicable305,44401-Feb-200808:46Not Applicable
Hotfix for a Windows CE .NET 4.2-based operating system on ARMV4i-based devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.dev.enu.wce4.armv4i.cabNot Applicable335,93801-Feb-200808:46Not Applicable
Sqlce30.repl.wce4.armv4i.cabNot Applicable765,64201-Feb-200808:46Not Applicable
Sqlce30.wce4.armv4i.cabNot Applicable1,636,89401-Feb-200808:46Not Applicable
Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based Pocket PC devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.dev.enu.ppc.wce5.armv4i.cabNot Applicable110,52601-Feb-200808:46Not Applicable
Sqlce30.ppc.wce5.armv4i.cabNot Applicable692,80201-Feb-200808:46Not Applicable
Sqlce30.repl.ppc.wce5.armv4i.cabNot Applicable315,65101-Feb-200808:46Not Applicable
Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.dev.enu.wce5.armv4i.cabNot Applicable337,48201-Feb-200808:46Not Applicable
Sqlce30.repl.wce5.armv4i.cabNot Applicable766,15401-Feb-200808:46Not Applicable
Sqlce30.wce5.armv4i.cabNot Applicable1,636,89401-Feb-200808:46Not Applicable
Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based Smartphone devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.dev.enu.phone.wce5.armv4i.cabNot Applicable57,24001-Feb-200808:46Not Applicable
Sqlce30.phone.wce5.armv4i.cabNot Applicable692,80201-Feb-200808:46Not Applicable
Sqlce30.repl.phone.wce5.armv4i.cabNot Applicable315,65101-Feb-200808:46Not Applicable
Hotfix for SQL Server 2005 Compact Edition on the x86 platform
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlceca30.dll3.0.5300.3296,51210-Jan-200821:36x86
Sqlcecompact30.dll3.0.5300.362,52810-Jan-200821:36x86
Sqlceer30en.dll3.0.5300.3138,83210-Jan-200821:40x86
Sqlceme30.dll3.0.5300.353,82410-Jan-200821:36x86
Sqlceoledb30.dll3.0.5300.3142,40010-Jan-200821:36x86
Sqlceqp30.dll3.0.5300.3535,10410-Jan-200821:36x86
Sqlcese30.dll3.0.5300.3293,95210-Jan-200821:36x86
System.data.sqlserverce.dll3.0.5300.3238,67210-Jan-200820:10x86

SQL Server Compact 3.5

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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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 Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note 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
No prerequisites are required.
Restart information
You do not have to restart the computer after you apply this hotfix.
Registry information
You do not have to change the registry.
Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English 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.

Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based Pocket PC devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce.dev.enu.ppc.wce5.armv4i.cabNot Applicable113,05806-Mar-200810:58Not Applicable
Sqlce.ppc.wce5.armv4i.cabNot Applicable732,43006-Mar-200810:59Not Applicable
Sqlce.repl.ppc.wce5.armv4i.cabNot Applicable324,45206-Mar-200811:00Not Applicable
Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce.dev.enu.wce5.armv4i.cabNot Applicable349,48806-Mar-200810:58Not Applicable
Sqlce.repl.wce5.armv4i.cabNot Applicable781,53706-Mar-200811:00Not Applicable
Sqlce.wce5.armv4i.cabNot Applicable1,739,57606-Mar-200810:59Not Applicable
Hotfix for a Windows CE 5.0-based operating system on ARMV4i-based Smartphone devices
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce.dev.enu.phone.wce5.armv4i.cabNot Applicable57,98006-Mar-200810:58Not Applicable
Sqlce.phone.wce5.armv4i.cabNot Applicable732,43006-Mar-200810:59Not Applicable
Sqlce.repl.phone.wce5.armv4i.cabNot Applicable324,45206-Mar-200811:00Not Applicable
Hotfix for SQL Server Compact 3.5 on the x86 platform
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlceca35.dll3.5.5386.1299,07208-Feb-200817:00x86
Sqlcecompact35.dll3.5.5386.164,06408-Feb-200817:00x86
Sqlceer35en.dll3.5.5386.1142,92808-Feb-200817:04x86
Sqlceme35.dll3.5.5386.155,87208-Feb-200817:00x86
Sqlceoledb35.dll3.5.5386.1143,42408-Feb-200817:00x86
Sqlceqp35.dll3.5.5386.1567,36008-Feb-200817:00x86
Sqlcese35.dll3.5.5386.1312,38408-Feb-200817:00x86
System.data.sqlserverce.dll3.5.5386.1263,24808-Feb-200815:50x86
Microsoft.synchronization.data.dll1.0.0.0111,98414-Aug-200714:41x86
Microsoft.synchronization.data.server.dll1.0.0.099,69614-Aug-200714:41x86
Microsoft.synchronization.data.sqlserverce.dll3.5.5386.191,21608-Feb-200815:49x86

Installation instructions

To install this hotfix, follow these steps:
  1. On the computer, use Add or Remove Programs to uninstall SQL Server 2005 Compact Edition or SQL Server Compact 3.5.
  2. On the device, use Remove Programs to uninstall SQL Server 2005 Compact Edition or SQL Server Compact 3.5.
  3. On the computer, install the appropriate hotfix for the x86 platform.
  4. On the device, install the appropriate .cab files that you extract from the hotfix package.

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 the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499  (http://kbalertz.com/Feedback.aspx?kbNumber=822499/ ) New naming schema for Microsoft SQL Server software update packages
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 2005 Compact Edition
  • Microsoft SQL Server Compact 3.5
Keywords: 
kbautohotfix kbhotfixserver kbfix kbexpertiseadvanced kbqfe KB947002
       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please