After detach and attach content database facing "Webpage cannot be found error" in ie and in chrome:

HTTP/1.1 200 OK
Server: Microsoft-IIS/8.5
Date: Mon, 27 Jul 2015 06:56:52 GMT
Connection: close

And in log:

Category        : SiteOrphan
Error           : True
UpgradeBlocking : False
Message         : Database [WSS_Content_DBONE] contains a site (Id = 
                  [798c2f51-4e9e-44bf-bfad-c774a7b563d0], Url = [/]) whose id 
                  is already associated with a different database (Id = 
                  [3637a130-6cf9-4932-8b9c-d85a7030c010], name = 
                  [WSS_Content_DBTWO]) in the site map. Consider deleting one 
                  of these sites which have conflicting ids.
Remedy          : The orphaned sites could cause upgrade failures. Try detach 
                  and reattach the database which contains the orphaned sites. 
                  Restart upgrade if necessary.

You have to mount the content database after detach attach operation either in Central Administration of using PowerShell:

Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication http://sitename

Ref: Mount-SPContentDatabase


From the logs we can see that you have the same site in both Content-DB:s. It suggest that you delete one of them. Preferably the one existing in the first mounted Content-DB, but make sure you back up the databases first so you can restore the site/content if something goes wrong.

  • I already mount using powershell, after mount only facing this issue! Any other idea? Jul 27 '15 at 8:50
  • After detach both DBONE and DBTWO, then I mount DBTWO first and its working fine. When mount DBONE later, facing same issue as vice-versa, help pls Jul 27 '15 at 9:24
  • while mounting each content db should point to its own site collection not the same site collection
    – Milind
    Dec 31 '19 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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