Freigeben über


SharePoint 2013 server shows "Upgrade Required" because AppFabric 1.1 was uninstalled.

 

SharePoint 2013 server shows "Upgrade Required" and we are getting errors while running PSConfig.

When checked the "Product and Patch installation status" and found that many patches were missing. Checked but those patches were installed. There were no issues with installer cache either (Verified ROISCAN\OPUTIL logs).

Tried running "Get-spproduct -local" and got an error "One or more types failed to load. Please refer to the upgrade log for more details."

Ran "Psconfig -cmd upgrade -inplace b2b -wait -force -cmd installcheck -noinstallcheck"

 

Collected PSCDiagnostics and Upgrade loge and found below

ERR            Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.
   at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
   at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
   at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer)
   at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId)
   at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade)
   at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects()
   at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager)
   at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Administration.SPDatabase.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Administration.SPContentDatabase.<>c__DisplayClass2.<Upgrade>b__0()
   at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
   at Microsoft.SharePoint.Administration.SPContentDatabase.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Administration.SPPersistedUpgradableObject.Upgrade(Boolean recursively)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveUpgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPManager.InplaceUpgradeAdministrationWebApplication()
   at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
   at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

From Upgrade log

Process                                  TID    Area                           Category                       EventID Level      Message  Correlation
PSCONFIG (0x2FB0) 0x2A48 SharePoint Foundation Upgrade SPSiteWssSequence ajywy INFO SPContentDatabase Name=SP13_DEV_CONTENT_ADMIN_01 00000000-0000-0000-0000-000000000000
PSCONFIG (0x2FB0) 0x2A48 SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
PSCONFIG (0x2FB0) 0x2A48 SharePoint Foundation Upgrade SPSiteWssSequence ajywy INFO SPContentDatabase Name=SP13_DEV_CONTENT_ADMIN_01 00000000-0000-0000-0000-000000000000
PSCONFIG (0x2FB0) 0x2A48 SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000

The reason this was happening is because  AppFabric 1.1 (One of the SharePoint Prerequisites) was uninstalled.

Resolution

It looked like an issue with DLL related to AppFabric: Microsoft.ApplicationServer.Caching.Core
We opened the GAC MSIL folder and checked if Microsoft.ApplicationServer.Caching.Core at “C:\Windows\assembly\gac_msil\Microsoft.ApplicationServer.Caching.Core\1.0.0.0__31bf3856ad364e35” exists.
The folder was empty and the DLL was missing on the problematic server.
Checked if AppFabric 1.1 is installed on the server – No.
So ran the prerequisites installer and found that the both AppFabric 1.1 for Windows Server and CU1 were installed successfully. We can now see the required DLL in GAC.
Ran "Get-SPProduct -Local" successfully.
Checked the "Product and Patch installation status" and found no patches missing.
We ran the SharePoint Configuration Wizard on the problematic server again and it successfully completed and now we see the status as “No Action Required”.

Post by Anoop Prasad [MSFT]

Comments

  • Anonymous
    November 11, 2015
    Great!! Thanks a lot. On Monday November 9 of 2015, we updated our server with something like 14 SharePoint 2013 windows updates, and since then, a lot of event log errors were displayed. And after 2 days trying to solve it, I found your post, it solved all my problems.

  • Anonymous
    May 04, 2016
    While running psconfig I got the same error "Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details" (in step 2) but in my case AppFabric wasn't missing. However after running the prerequisites installer psconfig finished successfully. So it's definitely worth a try.