还原SharePoint 2010 Farm到另外一个Farm然后出现Access Denied

最近备份还原次数比较多,发现一个问题,如果还原的时候更换了服务账号,还原成功的话,进入站点直接会Access Denied。

 

Log会抛出Publishing 相关的feature异常. 结果发现是Publishing feature的Super User Account和 Super Reader Account没有更新,还是原来的。

运行命令更新就好了。

 

stsadm -o setproperty -pn portalsuperuseraccount -pv <New Service Account> -url <Web Application URL>
stsadm -o setproperty -pn portalsuperreaderaccount -pv <New Service Account> -url <Web Application URL>
iisreset

 

看来SharePoint坑不少...

posted @ 2012-03-02 16:53  Lambert Qin  Views(351)  Comments(0Edit  收藏  举报