Thursday, October 20, 2011

Test-SPContentDatabase : The content database could not be found


Error "Test-SPContentDatabase : The content database could not be found." occurs when you try to execute Test-SPContentDatabase DbName command

Solution: This happened to me when I ran this command on a SP2007 database which was not yet attached to any web application in SP2010. Use the following syntax,
Test-SPContentDatabase -Name DbName -WebApplication "Url of a SP2010 web application"

No comments:

Post a Comment