Monday, October 6, 2014

SharePoint 2010 - Remote Blob Storage Impersonation issue - Resolved

When we configured RBS in our test environment as per this technet arcticle , but when we tried to upload documents, we were unable to upload documents. Further increasing the logging to Verbose we found the following error in ULS log.

Exception thrown storing stream in new SqlRemoteBlob: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Data.SqlRemoteBlobs.RemoteBlobStoreException: The blob store <FilestreamProvider_1> threw an exception. The exception thrown is saved in InnerException. ---> System.ComponentModel.Win32Exception: Either a required impersonation level was not provided, or the provided impersonation level is invalid.

We did so many things without success and finally found this blog which states that the version of the operating system on all the servers in the farm should be identical.

Seconding that , our test environment , the SharePoint environment was on Win 2008 Enterprise SP2 and the DB server was on Win 2008 R2 Enterprise SP1. Hence decided to Install and Configure RBS in another farm where SharePoint environment was on Win 2008 R2 Enterprise SP1 and DB server was on Win 2008 R2 Enterprise SP1.

After installing/configuring RBS, we are able to upload documents and RBS is working like a charm.

Note: OOTB you cannot upload documents which is greater that 2GB when RBS is enabled.

Hope this helps you

No comments:

Post a Comment