Hi. I'm editing the parameters from powershell SharePoint Foundation 2013 that are a prerequisite for the installation of FIM 2010 R2 SP1 on a Windows Server 2008 R2 in Spanish.
http://technet.microsoft.com/en-us/library/jj863242%28v=ws.10%29.aspx
When editing the parameter of the site AllowSelfServiceUpgrade returns me an exception.
Code:
I captured the message returned by the exception:
Code:
I run the PowerShell console with administrator privileges Sharepoint and computer. And I found that privileges "FULLMASK" within the Site.
You know why I can not edit this parameter? How I can "change" the state of the object so we can change it?... I appreciate any tips or track.
Thanks
http://technet.microsoft.com/en-us/library/jj863242%28v=ws.10%29.aspx
When editing the parameter of the site AllowSelfServiceUpgrade returns me an exception.
Code:
$site=Get-SPSite http://fim1Result:
$site.AllowSelfServiceUpgrade=$false
Exception to establish "AllowSelServiceUpgrade": "Invalid operation given the current state of the object."
In line: 1 Character: 1
+ $site.AllowSelfServiceUpgrade = $false
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueIncovationException
+ FullyQualifiedErrorId : ExceptionWhenSetting
I captured the message returned by the exception:
Code:
$sitio = Get-SPSite http://fim1 try { $sitio.AllowSelfServiceUpgrade = $false } catch [Exception] { Write-Host "`n" $_.Exception "`n" -ForegroundColor Red }Result:
System.InvalidOperationException: Invalid operation given the current state of the object. in Microsoft.SharePoint.SPSite.CheckPermssionForUpdatingUpgradeFlags(Boolean upgradeCheck) in Microsoft.SharePoint.SPSite.SaveLifeCyclePropertiesWithPermissionCheck(LifeCycleFlagField lifeCycleFlags, LifeCycleFlagField mask, Boolean upgradeCheck) in CallSite.Target(Closure , CallSite , Object , Boolean )
I run the PowerShell console with administrator privileges Sharepoint and computer. And I found that privileges "FULLMASK" within the Site.
You know why I can not edit this parameter? How I can "change" the state of the object so we can change it?... I appreciate any tips or track.
Thanks