Cannot migrate large List/Library using database connection as source adapter.
This occurs when you have tens of thousands of Items/Documents.
You get the below error:
Error: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
Stack:
Server stack trace:
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.Receive(TimeSpan timeout)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceive(TimeSpan timeout, Message& message)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Metalogix.SharePoint.Adapters.CSOM2013Client.CSOMService.ISharePointAdapterService.GetListItems(String sListID, String sIDs, String sFields, String sParentFolder, Boolean bRecursive, ListItemQueryType itemTypes, String sListSettings, GetListItemOptions getOptions)
at Metalogix.SharePoint.Adapters.CSOM2013Client.CSOMClientAdapter.<GetListItems>c__Binding.Invoke(Object& instance, Arguments arguments, Object aspectArgs)
at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
at Metalogix.SharePoint.Adapters.CSOM2013Client.Aspects.RetryWithCookieLockAttribute.OnInvoke(MethodInterceptionArgs args)
at Metalogix.SharePoint.Adapters.CSOM2013Client.CSOMClientAdapter.GetListItems(String sListID, String sIDs, String sFields, String sParentFolder, Boolean bRecursive, ListItemQueryType itemTypes, String sListSettings, GetListItemOptions getOptions)
at Metalogix.SharePoint.SPListItemCollection.FetchData(Boolean bRecursive, ListItemQueryType itemType, String sFields, Boolean bIncludeExternalizationData, Boolean bIncludePermissionsInheritance)
at Metalogix.SharePoint.SPFolder.<>c__DisplayClass3.<GetItems>b__2(SPListItemCollection items)
at Metalogix.SharePoint.SPFolder.GetItemCollection(Boolean bForceFetch, SPListItemCollectionFetchDelegate fetchDeleg)
at Metalogix.SharePoint.SPFolder.GetItems(Boolean bRecursive, ListItemQueryType itemTypes, String sFields)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.CopyListItems(SPListItemCollection sourceItems, SPFolder targetFolder, Nullable`1 parentItemId, Boolean bIsCopyRoot, SPListItemCollection& targetItems)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.CopyListItems(SPListItemCollection sourceItems, SPFolder targetFolder, Nullable`1 iParentItemID, Boolean bIsCopyRoot, IUploadManager uploadManager)
at Metalogix.SharePoint.Actions.Migration.PasteListItemAction.RunOperation(Object[] oParams)
at Metalogix.Actions.Action.RunAsSubAction(Object[] oParams, ActionContext actionContext, ThreadedOperationDelegate operationDelegate)
Type: System.ServiceModel.CommunicationException
HResult:-2146233087
Inner Exception Error: The read operation failed, see inner exception.
Stack: at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
Type: System.IO.IOException
HResult:-2146232800
Inner Exception Error: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
Stack: at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
Type: System.ServiceModel.CommunicationException
HResult:-2146233087
Inner Exception Error: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).
Stack: at System.ServiceModel.Channels.PipeConnection.FinishSyncRead(Boolean traceExceptionsAsErrors)
at System.ServiceModel.Channels.PipeConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
Type: System.IO.PipeException
ErrorCode:109
HResult:109
This was a known issue in previous versions of Content Matrix.
Also, this occurs when using the Database Connection as your source connection.
Upgrade to the latest version of Content Matrix.
Use the MEWS (remote Metalogix Web Services Extensions) to connect to your source SharePoint environment.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center