I am trying to clean up issues on SharePoint 2013. My Farm is an in place 2010 to 2013 upgrade. In Central Admin under "Servers in Farm" (/_admin/FarmServers.aspx)
my Server is reporting that I have to do an upgrade. However, clicking on "Upgrade Required" doesn't get me anywhere.
I went into PowerShell and ran this command: "stsadm.exe -o localupgradestatus
".
I got the following error:
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.SharePoint.StsAdmin.SPStsAdmin' threw an exception. ---> System.Bad ImageFormatException: Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its d ependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. File name: 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at Microsoft.SharePoint.StsAdmin.SPStsAdmin..cctor()
I ran the "Configuration Wizard
" and reran the PowerShell command, I still get the same error.
Any Idea how to fix this?