Error message when you try to go offline in the Microsoft Dynamics CRM 4.0 client for Outlook with Offline Access: "Failed move data for entity 'Plug-in Assembly' during action Insert, countRows=[Number]"

Article translations Article translations
Article ID: 948629 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you try to go offline in the Microsoft Dynamics CRM 4.0 client for Microsoft Office Outlook with Offline Access, you receive the following error message:
Failed move data for entity 'Plug-in Assembly' during action Insert, countRows=Number. Contact your Microsoft Dynamics CRM Administrator.
Note In this error message, Number is a placeholder for the actual count of the rows.

This problem occurs if many workflows exist.

CAUSE

This problem occurs because Microsoft Dynamics CRM 4.0 adds a row to the PluginAssemblyBase table and to the WorkflowBase table when you republish a workflow rule. Microsoft Dynamics CRM 4.0 always adds the row even if the workflow rule is not modified. If you republish the workflow rule many times, the PluginAssemblyBase table contains lots of data for that particular workflow rule. Therefore, lots of data is synchronized to the local Microsoft SQL Server Express Edition database when you try to go offline.

RESOLUTION

This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

If you enable platform tracing, you also receive an error message that resembles the following:
[DateTime1] Process:Microsoft.Crm.Application.Hoster |Organization:00000000-0000-0000-0000-000000000000 |Thread: 18(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmEventLog.WriteEntry
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Boolean traceFailure, Object[] values)
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Object[] values)
at Utility.Log(EventLogEntryType type, Int64 eventId, String message)
at Utility.LogTrace(EventLogEntryType type, Int64 eventId, String message)
at Utility.LogTraceError(String message)
at SyncData.DoBatchStep(ITransferDataProvider transferDataProvider, String entityName, SyncAction action, Int32 batchRows)
at SyncData.DoBatch(ITransferDataProvider transferDataProvider, String entityName, Int32 countRows, SyncAction action, Int32 totalCompleted, Int32 total)
at SyncData.ExecuteBatch(ITransferDataProvider transferDataProvider, String entityName, Int32 countRows, SyncAction action, Int32 totalCompleted, Int32 total)
at SyncData.MoveData(String syncInfo, ITransferDataProvider transferDataProvider, Int32 progressSteps)
at SyncData.Sync(ITransferDataProvider transferDataProvider, Int32 callPriority)
at OfflineSync.SyncThreadMethod()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()
>Failed to write the following event message to the Event Log.
EventType:Error
EventId=3221231472
Contents:Insert failed for entity 'PluginAssembly', batchRows=0 with exception System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object arg0)
at Microsoft.Crm.Application.Outlook.OfflineSync.BcpTransferDataProvider.DownloadBCPFile(String bcpFileName, BinaryReader& readStream, Int64 fileSize)
at Microsoft.Crm.Application.Outlook.OfflineSync.BcpTransferDataProvider.GetBCPFile(String entityName, Action action, Int32 batchSize)
at Microsoft.Crm.Application.Outlook.OfflineSync.BcpTransferDataProvider.ExecuteInsert(String entityName, Int32 count)
at Microsoft.Crm.Application.Outlook.OfflineSync.SyncData.DoBatchStep(ITransferDataProvider transferDataProvider, String entityName, SyncAction action, Int32 batchRows)
The exception information is:
System.ComponentModel.Win32Exception: The event log file is full

[DateTime2] Process:Microsoft.Crm.Application.Hoster |Organization:00000000-0000-0000-0000-000000000000 |Thread: 18(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmEventLog.WriteEntry
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Boolean traceFailure, Object[] values)
at CrmEventLog.WriteEntry(EventLogEntryType eventType, Int64 eventId, Object[] values)
at Utility.Log(EventLogEntryType type, Int64 eventId, String message)
at Utility.LogTrace(EventLogEntryType type, Int64 eventId, String message)
at Utility.LogTraceError(String message)
at BcpTransferDataProvider.GetBCPFile(String entityName, Action action, Int32 batchSize)
at BcpTransferDataProvider.ExecuteInsert(String entityName, Int32 count)
at SyncData.DoBatchStep(ITransferDataProvider transferDataProvider, String entityName, SyncAction action, Int32 batchRows)
at SyncData.DoBatch(ITransferDataProvider transferDataProvider, String entityName, Int32 countRows, SyncAction action, Int32 totalCompleted, Int32 total)
at SyncData.ExecuteBatch(ITransferDataProvider transferDataProvider, String entityName, Int32 countRows, SyncAction action, Int32 totalCompleted, Int32 total)
at SyncData.MoveData(String syncInfo, ITransferDataProvider transferDataProvider, Int32 progressSteps)
at SyncData.Sync(ITransferDataProvider transferDataProvider, Int32 callPriority)
at OfflineSync.SyncThreadMethod()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()
>Failed to write the following event message to the Event Log.
EventType:Error
EventId=3221231472
Contents:GetBCPFile() failed during action Insert for entity 'PluginAssembly', batchRows=89 with exception System.Net.WebException: The remote server returned an error: (401) Unauthorized. ---> System.ComponentModel.Win32Exception: The logon attempt failed
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError, SecurityStatus& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate)
at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e)
Note Date is a placeholder for the actual date. Time1 and Time2 are placeholders for the actual times.

For more information about how to enable tracing in Microsoft Dynamics CRM, click the following article number to view the article in the Microsoft Knowledge Base:
907490 How to enable tracing in Microsoft Dynamics CRM
For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

Properties

Article ID: 948629 - Last Review: January 20, 2012 - Revision: 2.2
APPLIES TO
  • Microsoft Dynamics CRM 4.0
  • Microsoft Dynamics CRM for Microsoft Office Outlook
  • Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access, when used with:
    • Microsoft Dynamics CRM 4.0
Keywords: 
kbfix kbautohotfix kberrmsg kbexpertiseinter kbmbsmigrate kbqfe kbhotfixserver KB948629

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