Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
Native Exception During Merge Replication
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.compactframework.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Tomas (VIP)
Hello,

We are experiencing a native exception during merge replication between SQL
Server CE 2.0 and SQL Server 2000 SP3.

Configuration:
Windows Mobile 2003
..NET Compact Framework SP2
SSCE 2.0
SQL Server 2000 SP3

The exception is an access violation, which occurs during the call to the
Synchronize method of the SqlCeReplication object. When the exception
occurrs the following message is displayed:
A native exception has occurred in app.exe. Select Quit and then restart
this program or select Details for more information:
ExceptionCode: 0xc0000005
ExceptionAddress: 0x01397a98
Reading: 0x22000000

Most synchronizations work without problems, but when this error occurs it
isn't possible to synchronize with the PDA where the error occurred until
the database file is removed. No error is reported in the replication
monitor on the server. Instead the synchronization is reported as
successful. However, when this error has occured the PDA will try to
download the same changes from the server in every synchronization attempt.
Any changes on the PDA are successfully applied to the server, which
suggests that the error occurs during the download phase.

We have been suspecting that the reason for this error is corrupt database
files. This conclusion seems to be contradicted by the fact that it is still
possible to read and change data in the PDA database after this error has
occured.

Regards,
Tomas

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Marius Bucur
I have the same problem, the error is 28549 - "The row update or insert
cannot be reapplied due to an integrity violation.".
Take a look at Microsoft Knowledge Base Article - 827914
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;827914#appliesto )
I installed the fix but all you obtain is the 28549 error instead of access
violation, the replication process will not work.

"Tomas" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734