Mount-SPContentDatabase No Root-Web

5.6k Views Asked by At

I want to Mount an existing ContentDatabase with the following command:

Mount-SPContentDatabase Content_WSS_Name -WebApplication http://name -AssignNewDatabaseId

It runs without an error but says that the site count is 0. I can see the database under Manage Content Databases in Central Admin but the site count is also 0 and no site collection shows up under site collections section.

EDIT: New Database, because i have the same Database connected to another SiteColletion, and want a Copy of this.

1

There are 1 best solutions below

0
On

Try stsadm.exe o addcontentdatabase .............make sure the database has site collection you can use recover from un attached database option on CA. Another thing to check is that web app you are trying to attach to does not have root level site collection ,because in case you have root level SC in database it will fail.

Let me know your outcome ?

Thanks