1

Closed

An unexpected network error occurred.

description

I am getting below error message while importing document library from one site collection to another site collection within same web application. please some one help me out!

[2/21/2013 8:07:51 AM] [ListItem] [xyz bnq V31.pdf] Error: An unexpected network error occurred.

[2/21/2013 8:07:51 AM] [ListItem] [xyz bnq V31.pdf] Debug: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedFileStream.Write(Byte[] array, Int32 offset, Int32 count)
at Microsoft.SharePoint.SPFileStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.SharePoint.SPFile.CloneStreamToSPFileStream(SPWeb web, Stream stream, Int64 bytesToCopy)
at Microsoft.SharePoint.Deployment.FileSerializer.UploadFileData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid fileId, String fileUrl, FileInfo fileInfo, SPUser author, SPUser editor, String checkinComment, DateTime timeCreated, DateTime timeLastModified, MetaInfoHandler metaInfo, Int32 iVersion, Boolean isFirstVersion, Int32 listItemId, String listInternalName, ImportObjectManager objectManager)
at Microsoft.SharePoint.Deployment.FileSerializer.UploadFileData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, MetaInfoHandler metaInfo, StreamingContext context)
at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish, Boolean exists, StreamingContext context, ISurrogateSelector selector)
at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)


How can i fix this issue.
Closed Feb 19, 2016 at 10:59 PM by PerrySharePoint
OP never gave version of code involved, but post is so old that it has to have been outdated version.

comments

PerrySharePoint wrote Feb 21, 2013 at 8:40 PM

A good bug report should probably start with basic info about your environment (e.g, what version of SharePoint), and should always say what version of the software you're using.

wrote Feb 21, 2013 at 11:44 PM

kdmrramu wrote Feb 22, 2013 at 5:16 AM

Hi,
I hope you’re doing well, Thanks for your comments

My current environment details are as below:
SharePoint 2010 SP1
June 2012 CU updated
1 SharePoint server and 1-database server
Export file location is on same sharepoint server on D drive.

We have one web application (http://xyz.tech.com) with 2 site collections, under one site collection (http://xyz.tech.com/ss/default.aspx) we have a sub site (http://xyz.tech.com/ss/department) which is size of 64 GB. When I exported sub site using PowerShell successfully but when I am trying to import this sub site to another site collection (http://xyz.tech.com/sites/process) receiving the above error.
We can only able to import 38 GB out of 64 GB.

Thanks in advance for your help.

kdmrramu wrote Mar 8, 2013 at 11:28 AM

Hi ,

Any one have solution for this!!! , Please share with me if you have any solution for this.

PerrySharePoint wrote Oct 16, 2013 at 2:27 PM

What did ULS logs say, esp about that filename you quoted?

wrote Feb 19, 2016 at 10:59 PM