Can not perform a spsite restore from the backup on sp2013. I get the stuck with this error :
Restore-SPSite : <nativehr>0x80070003</nativehr><nativestack></nativestack>
Any solution? Thanks in advance
Looking in the web there are few references to two possible reasons and ways to correct this error:
1. Managed wrong Path. In case the managed path “sites” was not registered as a valid path in the web application, the solution is obviously to add it. It was not my case
2. Permissions. Run the command Restore-SPSite with a user without permission; The solution is obviously to run the command with an administrator user of the SharePoint farm. Unfortunately it was not my case.
The way I was able to satisfactorily perform the restoration of the site collection on the destination farm was from a backup made since the database content, then I list the steps to perform this workaround.
1.-Identify the content database that contains the collection of sites that we want to restore on the destination farm.
2.-Perform a full backup of the database using SQL Server Management Studio (or using t-sql).
3. Move the backrest to a location that can be accessed from the database of the destination farm.
4. Restore content database to a new database within SQL Server instanacia the destination SharePoint farm.
5. Mount the database with the following PowerShell command: