I am trying to upgrade from SP 2010 to 2013.
For this I am following the database detach and attach process.
I have taken the backup of my content DB from SP2010 and restored it on SP2013 SQL server.
After this, I am running the following powershell command on SP2013 powershell:
Test-SPContentDatabase -name "WSS_Content" -webapplication "http://servername"
After running this, I am getting the following error:
Test-SPContentDatabase : Invalid object name 'Webs'.
At line:1 char:1
+ Test-SPContentDatabase -name "WSS_Content" -webapplication
"ht ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...ContentDatabase:
SPCmdletCheckContentDatabase) [Test-SPContentDatabase], SqlException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletCheckContentDatabase
I even tried to use the Mount-SPContentDatabase command also, but still getting the same error.