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

Trying to perform a visual upgrade to a site and its subsites

$
0
0

We are working with a SP 2007 content database that we have upgraded to SP 2010 via database attach.

I wanted to perform the visual upgrade to one of the site collections in the content database.

However, I don't want to do it site by site manually.  So I went to http://technet.microsoft.com/en-us/library/ff607998.aspx and I tried to execute this:

PS C:\Users\sa_spsdev> get-spdatabase | ?{$?.Name -eq "SharePoint_WWW_Content_1"} | add-spshelladmin -username cas\sa_spsdev
PS C:\Users\sa_spsdev> $site = get-spsite http://ntsrv45sb/sites/eo
PS C:\Users\sa_spsdev> $site.VisualUpgradeWebs()
Exception calling "VisualUpgradeWebs" with "0" argument(s): "Access is denied.
(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
At line:1 char:24
+ $site.VisualUpgradeWebs <<<< ()
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

I am uncertain what kind of access issue this is referring. I am logged in with the account that is used for managing the farm.

Viewing all articles
Browse latest Browse all 12728

Trending Articles



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