SharePoint Configuration Wizard Failing - RPC Server is unavailable

If you encounter this issue, it is clear that your SP machine is unable to get the credentials verified with the Active Directory.

Try ipconfig /flushdns - and if it still does not work, do ipconfig /registerdns

Comments

  1. # Run (copy/paste) this to SharePoint PowerShell (as admin)
    # Thanks to Raka Satria
    # https://rakatechblog.wordpress.com/2013/02/04/sharepoint-2013-spdistributedcacheserviceinstance-cachehostinfo-is-null/

    $SPFarm = Get-SPFarm
    $cacheClusterName = "SPDistributedCacheCluster_" + $SPFarm.Id.ToString()
    $cacheClusterManager = [Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheClusterInfoManager]::Local
    $cacheClusterInfo = $cacheClusterManager.GetSPDistributedCacheClusterInfo($cacheClusterName);
    $instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
    $serviceInstance = Get-SPServiceInstance | ? {($_.Service.Tostring()) -eq $instanceName -and ($_.Server.Name) -eq $env:computername}

    if([System.String]::IsNullOrEmpty($cacheClusterInfo.CacheHostsInfoCollection))
    {
    #here's the key. we can't provision, unprovision, start, or stop a Cache Service because we still have a Cache Service that have no server attached
    $serviceInstance.Delete()
    Add-SPDistributedCacheServiceInstance
    $cacheClusterInfo.CacheHostsInfoCollection
    }


    ReplyDelete

Post a Comment

Popular posts from this blog

Using External Content Types with Stored Procedures with Input Parameters

Comparison of Power BI Service vs. Power BI Report Server vs. SQL Server Reporting Services