Sunday, December 11, 2011

Mount-SPContentDatabase Powershell bug

Scenario:
Mount-SPContentdatabase command fails with "object reference not set to an instance of an object" error.
At first these errors are only shown for Basic Meeting Workspace.


Solution:
Make sure you are not running "Mount-SPContentdatabase" command for the same database using the same powershell window. If yes, close the window and open a new SharePoint 2010 powershell window and continue the operation.




References:
http://www.ekhichdi.com/b/Object-reference-not-set-to-an-instance-of-an-object-upgrade-sharepoint-416.html


http://blogs.msdn.com/b/jorman/archive/2010/06/09/mount-spcontentdatabase-failing-on-blank-meeting-workspace.aspx

No comments:

Post a Comment