FIX: Error message when you try to insert a row or perform other database operations in a SQL Server 2005 Mobile Edition database: "Wrong page (potential database corruption)"

Article translations Article translations
Article ID: 923979
Bug #: 11656 (SQL Server CE)
Microsoft distributes Microsoft SQL Server 2005 Mobile Edition 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 Mobile Edition fix release.
Expand all | Collapse all

SYMPTOMS

When you try to insert a row or perform other database operations in a Microsoft SQL Server 2005 Mobile Edition database, you may receive the following error message:
Error: 25115
Error Token: SSCE_M_WRONGPAGE
Error Text: Wrong page (potential database corruption). Try running the repair tool.
You may also receive other random error messages when you try to access the database.

RESOLUTION

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

The following list contains prerequisites for the hotfix:
  • Microsoft SQL Server 2005 Mobile Edition

Restart requirement

You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

Hotfix file information

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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sqlce30.phone.wce5.armv4i.cabNot Applicable684,74910-Aug-200609:25Not Applicable
Sqlce30.repl.phone.wce5.armv4i.cabNot Applicable309,36410-Aug-200609:25Not Applicable
Sqlce30.ppc.wce4.armv4.cabNot Applicable1,544,58110-Aug-200608:51Not Applicable
Sqlce30.repl.ppc.wce4.armv4.cabNot Applicable707,33910-Aug-200608:51Not Applicable
Sqlce30.ppc.wce5.armv4i.cabNot Applicable684,74910-Aug-200609:25Not Applicable
Sqlce30.repl.ppc.wce5.armv4i.cabNot Applicable309,36410-Aug-200609:25Not Applicable
Sqlce30.repl.wce5.armv4i.cabNot Applicable728,84310-Aug-200608:53Not Applicable
Sqlce30.wce5.armv4i.cabNot Applicable1,586,06110-Aug-200608:53Not Applicable
Sqlcemobile30.dll3.0.5207.452,22409-Aug-200610:04x86
Sqlcese30.dll3.0.5207.4282,62408-Aug-200618:34x86

MORE INFORMATION

To install this hotfix, follow these steps:
  1. Extract the hotfix files onto your computer. This hotfix contains the following files:
    • Binary files that contain fixes for the Microsoft Windows desktop computer.
    • CAB files that contain fixed DLL files for the following mobile devices:
      • Microsoft Windows Mobile 5.0 software for Pocket PCs-based devices
      • Windows Mobile 5.0-based Smartphones
      • Microsoft Windows Powered Pocket PC 2003-based devices
      • Microsoft Windows CE 5.0-based mobile devices
  2. Install the correct CAB files to update SQL Server 2005 Mobile Edition on the mobile device:
    • For Pocket PC-based mobile devices, install the CAB files from the PPC_cabs folder in the hotfix.
    • For mobile phones, install the CAB files from the PHONE_cabs folder in the hotfix.
    To do this, use Microsoft ActiveSync to copy the CAB files to the mobile device.
  3. If you use SQL Server Management Studio to manage mobile databases, replace the SQL Server 2005 Mobile Edition DLL files by using the files provided with this hotfix. To do this, copy the following files to the SQLInstallPath\90\Tools\Binn\VSShell\Common7\IDE folder:
    • Sqlcecompact30.dll
    • Sqlcese30.dll
    Note SQLInstallPath is a placeholder for the folder on the desktop computer where SQL Server is installed.
  4. If you use Microsoft Visual Studio 2005 to develop and deploy applications, replace the SQL Server 2005 Mobile Edition DLL files by using the files provided with this hotfix. To do this, copy the following files to the VSInstallPath\Common7\IDE folder:
    • Sqlcecompact30.dll
    • Sqlcese30.dll
    Note VSInstallPath is a placeholder for the folder on the desktop computer where Visual Studio 2005 is installed.

    Copy the following files to the VSInstallPath\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce500\armv4i folder:
    • Sqlcecompact30.dll
    • Sqlcese30.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was corrected in SQL Server 2005 Compact Edition.

MORE INFORMATION

For more information, 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: 923979 - Last Review: October 9, 2011 - Revision: 7.0
Keywords: 
kbautohotfix kbfix kbHotfixServer kbqfe KB923979

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