I have restored portal there is build in Microsoft Sharepoint Server 2010 through the "Sharepoint_Content" database. When I try to open portal, it brings the error:

Server Error in '/' Application. 0x80070012 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: 0x80070012

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Have you any idea why is this happening?

Thanks in advanceenter image description here

  • what method you adopted to restore the site? is it content DB backup and restored? is it same web app or same farm? how many site collections in that content db
    – Waqas Sarwar MVP
    Sep 29, 2015 at 13:04

1 Answer 1


This error occurs because the files of the site which was backed up are stored in database. But since the data in database was not restored the site does not work properly and hence the above error As a workaround, you could restore it from content database directly. Here is an useful article for your reference: http://technet.microsoft.com/en-us/library/ee748604.aspx#section3

More reference: http://spsite.wordpress.com/2008/07/10/backuprestore-sharepoint-content-database/


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.