Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Attach CurrentSiteCount 0 when it should be 1

$
0
0

I've BAKed and copied a db from production to dev and restored it to a new db, and attached it to a new application using

mount-spcontentdatabase -Name WSS_Content_DBTEST -Webapplication http://sitename:1234

Went fine, except I'm getting

CurrentSiteCount : 0

when it should be 1.

Checked WSS_Content_DBTEST in sql with SELECT * FROM Allsites and it's returning one row with ID.

Tried adding it through the CA UI and same result. Tried stsadm, same.

I've run into this before, but using MOSS, and I can't remember what I did to fix it. Any tricks?

Thanks,

Scott


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>