Вопрос

We are unable to upload a document more than 1.5 MB to a SharePoint content database which is configured RBS storage, and SharePoint data source instance is configured with SQL Server always on and this db in AG group.

In the WFE servers I was below RBS errors

Message ID:6, Level:ERR , Process:4496, Thread:11
Exception thrown:
Operation: StoreNewBlobFromStream1
BlobStoreId: 0
Log Time: 9/24/2016 9:48:00 AM
Exception: Microsoft.Data.SqlRemoteBlobs.RemoteBlobStoreException: The blob store <FilestreamProvider_1> threw an exception. The exception thrown is saved in InnerException. ---> System.ComponentModel.Win32Exception: The network name cannot be found
   at System.Data.SqlTypes.SqlFileStream.OpenSqlFileStream(String path, Byte[] transactionContext, FileAccess access, FileOptions options, Int64 allocationSize)
   at System.Data.SqlTypes.SqlFileStream..ctor(String path, Byte[] transactionContext, FileAccess access, FileOptions options, Int64 allocationSize)
   at Microsoft.Data.BlobStores.FilestreamBlobStore.FilestreamWriterStream.ExecuteStoreBlobProcedure(Boolean storeInBand)
   at Microsoft.Data.BlobStores.FilestreamBlobStore.FilestreamWriterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at Microsoft.Data.SqlRemoteBlobs.Utilities.ReadWriteStream(Stream readStream, Stream writeStream)
   at Microsoft.Data.BlobStores.FilestreamBlobStore.FilestreamStoreLibraryBase.CreateNewBlobFromStream(Byte[] storePoolId, Stream inStream)
   at Microsoft.Data.BlobStores.BlobStore.CreateNewBlobFromStream1Internal(Request request)
   --- End of inner exception stack trace ---
ExceptionType:      BlobStore
ExceptionCode:      BlobStoreUnhandledException
Request Information:
Operation:          StoreNewBlobFromStream1
Request:
Request 13 for WriteBlobFromStream
Request Configuration not set.
Command Details:
StoreBlobCommand    : Request 13  , CheckedConfigVersion: Verified, RetryNeeded: False, RetryAttempts: 3
BlobDetails: BlobStoreId 1, PoolId 1, StorePoolId 0x01000000, CollectionId 2
ConfigItemList with 1 items.
Key: <blob_store_name>, Value:<FilestreamProvider_1>, ConfigFormat: <Name>, Required Level: <Application>
Session Information not set.
Provider Session Information:
Provider Session Info:
ProviderSession:         ProviderSession. Id: <1>, Name: <FilestreamProvider_1>, Type: <Filestream>, StoreVersion: <1.0.0.0>, Location: <Data Source=SQLPSPMC\xxx;Initial Catalog=Wss_content_88;Integrated Security=True;Application Name="Remote Blob Storage FILESTREAM Provider">
Core Configuration:
Extended Configuration:

enter image description here

I traced the correlation ID and found the errors

System.Runtime.InteropServices.COMException: The URL 'Documents/test2.pdf' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps)

Application error when access /_layouts/UploadEx.aspx, Error=The URL 'Documents/test2.pdf' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps)

Это было полезно?

Решение

Some points have to check

  • Try to merge the log file at WFE's to trace the correlation ID and specify what's specifically the root cause of this issue.
  • Make sure SharePoint Database is not full.
  • Check the Database hard drive has free space.
  • Try to check the filestream configuration on the SQL Server side.
  • Reset IIS.

For more details Sharepoint 2010 RBS can't add file larger than 1mb, The network name cannot be found

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top