SharePoint - Unexpected Error occured after restoring site from production to Test server

Asked By Lalitha Kumaran on 20-Jun-12 02:39 PM
when i try to  open  a site after restoring, it says Unexpected Error occured
Jitendra Faye replied to Lalitha Kumaran on 21-Jun-12 12:53 AM
This error is showing that there is some problem in restore process, try to restore again,

follow the steps for restoring site-

http://technet.microsoft.com/en-us/library/ee748655.aspx
TSN ... replied to Lalitha Kumaran on 21-Jun-12 12:54 AM

If you are not getting the details of the error try to enable the Custom errors so that it will display the stack trace..

Here are the steps:

1) Navigate to the web application’s web.config file

2) Find the SafeMode setting:

<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="true">

3) Find the CustomErrors setting:

<customErrors mode="On" />

and set mode=”Off”:

<customErrors mode="Off" />

 

DL M replied to Lalitha Kumaran on 21-Jun-12 01:21 AM
Hi..

These type errors are coming because content database is having these objects and those are orphan in the site collection. thus you can repair the content database to delete these orphan objects in the particular site collection. 

You can repair your sharepoint database check here
--------------------------------------------------
http://melick-rajee.blogspot.in/2011/10/repair-sharepoint-database.html