????? ????? ???? PremiumSite ?? R2 2008 ???? SQL

?????? ????????? ?????? ?????????
???? ???????: 2261512
????? ???? | ?? ????

?????

???? ??? ??????? ????? ?????? ????? ???? PremiumSite ??? ????? ????? PowerPivot ?????? SharePoint ?? Microsoft Office 2010 Suite SQL Server 2008 R2.

??????? ????

??? ????? ????? ?? PowerPivot ? SharePoint ???? Excel Services ?????? ???? ?? ???? PremiumSite ?????. ?????? ????? ??????? ?????? ????? ????? SharePoint ?? ????? SharePoint? ???? ??????? ???????:
  1. ??? ???????? ???????? ??????? ?? ??? ??? ?????? Post?KJUninstall.ps1:
    Param($UninstallLogFilePath)
    $file = $UninstallLogFilePath
    
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    
    $powerPivotFeatures = @("1a33a234-b4a4-4fc6-96c2-8bdb56388bd5", "e9c4784b-d453-46f5-8559-3c891d7159dd", "f8c51e81-0b46-4535-a3d5-244f63e1cab9")
    $premiumSiteId = "8581a8a7-cf16-4770-ac54-260265ddb0b2"
    
    #Remove PowerPivot features.
    foreach($featureId in $powerPivotFeatures)
    {
    	if(Get-SPFeature | where {$_.Id -eq $featureId})
    	{
    		Write-Host "Found feature $featureId"
    		Uninstall-SPFeature -Id $featureId -force
    	}
    }
    
    # Verify that the premium site feature was indeed removed.
    $premiumSiteFeature = Get-SPFeature | where {$_.Id -eq $premiumSiteId}
    if($premiumSiteFeature -eq $null)
    {
    	# Reinstall the feature
    	Install-SPFeature -path PremiumSite
    }
    
    switch -regex -file $file
    {
    	"de-activating feature"	{
    					# This will return every entry in the file for feature deactivation
    					$Url = $_.Split() | ?{$_ -match "http://([a-zA-Z0-9_\-]+)([\.][[a-zA-Z0-9_\-]+)*(\:[0-9]+)*(/\S*)?"}
    					#Remove the period at the end
    					$Url = $Url.Substring(0, $Url.Length - 1)
    					# Match the Guid for the feature.
    					$Id = $_.Split() | ?{$_ -match "([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}"}
    					if(!($powerPivotFeatures -contains $Id))
    					{
    						Write-Host "Reactivating feature $Id on site $Url"
    					    Enable-SPFeature -Id $Id -Url $Url
    						trap 
    							{
    								Write-Host "Could not Re-activate feature $Id on site $Url"
    								Write-Host $("Exception: "+ $_.Exception.Message);
    								continue
    							}
    					}
    
    					continue
    				}
    }
  2. GO ??? ?????? ??????:
    %ProgramFiles%\Microsoft Bootstrap\Log\Sql Server\100\Setup
  3. ?????? ??? ?????? ?????? ???? ????? ??? ????? ???? ?????? ?? ??????? ????? ??? ?????? ????? ????? ???????. ??? ?? ????? ?????? SQL ???? ?? ?? ???? ??? ????? reparation SQL Server? ??? ?? ???? ??? ?????? ?????? ?? ??????? ??????. 

    ??????????? ??? ?????? ??? ???:
    YearMonthDay_HourMinutesSeconds
  4. ???? Detail.txt ????? ??? ???? ??????. ??? ???? ??????? ?? ???? ????? ??? C:\LogFiles.
  5. ?? ???? ????? Post?KJUninstall.ps1 ??? ??? ?????? ??? ??? ???? ????? Detail.txt.
  6. ??? ????? Shell ????? 2010 ? SharePoint ???????? ???? ??????? ?? ???????.
  7. ?? ?????? ????? ?????? ?? shell:
    <???????? ??????>?UninstallLogFilePath\Post-KJUninstall.ps1<???????? ??????>\Detail.txt
???????
  • <???????? ??????>???? ?????? ??? ??? ????? ????? Detail.txt ?????? Post?KJUninstall.ps1. ??? ???? ??????? ?? ???? ??? ?????? ?????? C:\LogFiles.
  • ??? ?? ??? ????? ???? ??? ??????? ??? ?????.
  • ????? ??? ????? ??? ???????? ????? ????? ???? PremiumSite.

???????

???? ???????: 2261512 - ????? ??? ??????: 10/?????/1431 - ??????: 2.0
????? ??????: 
kbsurveynew kbexpertiseadvanced kbprb kbmt KB2261512 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????2261512

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com