Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

請試想下列案例:

  • 您的電腦上安裝 Microsoft SQL Server Compact 3.5。

  • 您可以建立 「 訂閱者 」 在 SQL Server Compact 3.5。

  • 您下載多個資料列從合併式發行集資料庫與 「 訂閱者 」 的 「 發行者 」 同步時。 資料列包含許多文件和條件約束。

在這個案例中,SQL Server 錯誤記錄檔會記錄類似下列的錯誤訊息:

System.Data.SqlServerCe.SqlCeExceptionNative 錯誤 = 0,HRESULT =-2147217873,錯誤訊息: 指定的值違反資料行或資料表的完整性條件約束。

注意在 32 位元作業系統和 64 位元作業系統中,會發生這個問題。

原因

無效的交換 ID 的使用,就會發生這個問題。當下載的多個資料列處於擱置狀態時,SQL 壓縮用戶端代理程式呼叫重試使用的方法,無效的交換 id。 因此,就會發生 < 徵狀=""> 一節所述的問題。

解決方案

累積更新套件 5 中會包含 hotfix 可解決這個問題,SQL Server Compact 3.5 Service Pack 2 (SP2)。 如需有關如何取得累積更新套件 5,SQL Server Compact 3.5 sp2 的詳細資訊,請按一下下面的文件編號,檢視 「 Microsoft 知識庫 」 中的文件:

2553608 對於 SQL Server Compact 3.5 Service Pack 2 的累積更新 5

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×