I am using sharepoint 2013 with sql 2012 and am having issues getting RBS setup with SQL filestream. I have followed all the steps in the microsoft technet, but i get the following error when uploading docs to the site:
The URL 'Shared documents/ ' 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.
I have 1 web server, 1 app server, 1 index server and 1 sql 2012 server. I did the following steps:
Enabled filestream on SQL , made sure its access_level_2, and then reconfigure.
Then on sql server for the content database, I ran the following querys:
use [WSS_Content]
if not exists (select * from sys.symmetric_keys where name = N'##MS_DatabaseMasterKey##')create master key encryption by password = N'Admin Key Password !2#4'
use [WSS_Content]
if not exists (select groupname from sysfilegroups where groupname=N'RBSFilestreamProvider')alter database [WSS_Content] add filegroup RBSFilestreamProvider contains filestream
use [WSS_Content]
alter database [WSS_Content] add file (name = RBSFilestreamFile, filename = 'C:\Blobstore') to filegroup RBSFilestreamProvider
These all completed successfully. And i can see the folder
Then installed RBS on the sql server and 1st web server but downloading rbs and ran the below command:
msiexec /qn /lvx* rbs_install_log.txt /i RBS.msi TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME="WSS_Content" DBINSTANCE="DBInstance Name" FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1
This completed successfully on both servers, as the logs showed no errors.
Then next on the other app and index server, i implemented the below command:
msiexec /qn /lvx* rbs_install_log.txt /i RBS.msi DBNAME="WSS_Content" DBINSTANCE="DBInstance Name" ADDLOCAL="Client,Docs,Maintainer,ServerScript,FilestreamClient,FilestreamServer"
On the logs it says it installed succesfully on both server, but there is one error in the logs which reads:
Info 2769. The installer has encountered an unexpected error. The error code is 2769. Custom Action CreateFilesNoUI did not close 21 MSIHANDLEs.
Not sure if this is something to look at, but because at the end of the log it said installed succesfully, i didnt think it would cause an issue.
Then next i ran below the sharepoint powershell commands against :
$cdb = Get-SPContentDatabase –WebApplication <URL>
$rbss = $cdb.RemoteBlobStorageSettings
$rbss.Installed()
$rbss.Enable()
$rbss.SetActiveProviderName($rbss.GetProviderNames()[0])
The $rbss.Installed() returned true, and the activeprovidername is not null.
SO when i go to the site, and upload any docs i get the above error that I mentioned.
Any ideas why i get this issue. The account I used does have farm adminsitrator right and sysadmin on the sql server.