RBS disable error, specified collectionID not found in database

Answered RBS disable error, specified collectionID not found in database

  • 2012年6月19日 10:30
     
     

    Hello

    I am removing RBS from our SharePoint 2010. The process went fine for most of the content DB, except for two of them where I get an error after the $rbs.Migrate(), when I do the $rbs.Disable(): the specified CollectionId <3> was not found on the database, the collection could have been deleted. In fact, when I query the table mssqlrbs_resources.rbs_internal_collections, I get only 2 collections with id 0 and 2. I did not find more help in this forum and in google. Any hint would be much appreciated, thank you.

    Pierrot


全部回复

  • 2012年6月26日 6:50
     
     已答复

    Hi,

    How did you remove RBS from your SharePoint server 2010? Please look into the ULS log to find more information.

    In addition, I provide you some links about how to remove RBS for your reference:

    http://alipka.wordpress.com/2010/06/19/how-to-disable-rbs-in-sharepoint-2010/

    http://blogs.technet.com/b/pramodbalusu/archive/2011/07/09/rbs-and-sharepoint-2010.aspx

    Thanks,

    Rock Wang


    Rock Wang TechNet Community Support

  • 2012年7月2日 8:06
     
     已答复

    I followed exactly what is mentioned in the links you provide:

    $cdb=Get-SPContentDatabase <ContentDbName>
    $rbs=$cdb.RemoteBlobStorageSettings
    $rbs.GetProviderNames()
    $rbs.SetActiveProviderName("")
    $rbs.Migrate()
    $rbs.Disable()

    this went fine for most of the content DBs, except for 2 or 3 where the problem occurred at the last step $rbs.Disable().

    Pierrot

  • 2012年7月13日 10:07
     
     

    Finally, I opened a case at Microsoft. The solution is:

    1. for every site collection, Backup-SPsite
    2. delete the content database in SharePoint using Manage Content Databases
    3. Delete the content database in SQL
    4. Create a new content database in SharePoint using Manage Content Databases
    5. Restore-SPSite with the database as parameter

    Finally, uninstall RBS from the SharePoint Servers and from the SQL Server.

    Pierrot