??? SQL Server 2008 R2 PremiumSite ?????? ?? ???: ????? ???? ?? ??? ???? ????

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

?????

?? ???? PremiumSite ?????? PowerPivot ?? SharePoint ??? ?? ??? ?? ??????? ???? ???? ?? ??? ???: ????? ???? ?? ??? ????? ?? ????? ???? ?? ??? Microsoft SQL Server 2008 R2?

???? ???????

SharePoint ???, Excel ?????? ?? ???? ?????? ??? PremiumSite ?????? ????? ??? ?? ??? PowerPivot ??????? ???? ???? ?? ???? ???? SharePoint farm ??? ??? 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:
    Sql Server\100\Setup Bootstrap\Log\ %ProgramFiles%\Microsoft
  3. ?????? ?? ?????? ?? ?? ??????? ???? ????????? ????? ???? ?? ??? ???? ?????? ???? ???? ???????? ??????? ??? ??? ???? SQL ??? ??????? ???? ??? ?? ?? ??? ?? ???? SQL Server reparation ???? ??? ??, ?? ?????????? ?????????? ?? ?????? ?????? ?? ??? ???? ?????? 

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

???

???? ID: 2261512 - ????? ???????: 20 ????? 2010 - ??????: 2.0
??????: 
kbsurveynew kbexpertiseadvanced kbprb kbmt KB2261512 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??: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