PRB: SQL Server CE Replication Error Message: 28557 : "The database is in an unusable state. " (304060)
The information in this article applies to:
- Microsoft SQL Server 2000 Windows CE Edition
This article was previously published under Q304060 SYMPTOMS
When you try to synchronize a database, the following error message may occur with Microsoft SQL Server 2000 Windows CE Edition (SQL Server CE) Replication Synchronize:
Source: Microsoft SQL Server 2000 Windows CE Edition
Number: 80004005
NativeError: 28557
Description: Run
Error code 28557 means:
The database is in an unusable state. Delete it and recreate it.
CAUSE
The error message shown in the "Symptoms" section may occur if the application receives an error during the initial synchronization. When an error occurs during the initial synchronization process, the subscription is actually incomplete and does not contain all of the required metadata and system tables to successfully fix itself.
RESOLUTION
To resolve this problem, use these steps:
- Delete the locate database (.sdf file) on the device and then re-create the local database.
- Call the AddSubscription method.
- Perform the first synchronization and download the initial snapshot by calling the Initialize, Run and Terminate methods.
STATUS
This behavior is by design.
REFERENCES
SQL Server CE 2000 Books Online
Modification Type: | Major | Last Reviewed: | 9/26/2001 |
---|
Keywords: | kbprb KB304060 |
---|
|