Hello Everyone,
I am having a really strange issue with Managed Metadata. I get the classic Error  “The Managed Metadata Service or Connection is currently not available”  which is usually a permission issue.Â
However, all the good accounts have permission. Â In the ULS Logs this is what I found :Â
Failed to get term store for proxy ‘Managed Metadata Service’. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at Microsoft.SharePoint.Taxonomy.Internal.XmlDataReader.GetDateTime(String name)
at Microsoft.SharePoint.Taxonomy.Internal.SharedTermStore.Initialize(IDataReader dataReader, Guid termStoreIdValue, Boolean fromPersistedData)
at Microsoft.SharePoint.Taxonomy.Internal.SharedTermStore..ctor(IDataReader dataReader, Guid termStoreId, Boolean fromPersistedData)
at Microsoft.SharePoint.Taxonomy.Internal.DataAccessManager.GetTermStoreData(MetadataWebServiceApplicationProxy sharedServiceProxy, Boolean& partitionCreated)
I only found 1 blog post on the issue: http://sharepointbabe.blogspot.ca/2013/04/upgrade-managed-metadata-service.html however I was maybe trying to fix before recreating. And for me it’s pure 2013.. no 2010 in there!
Thanks!
So I have a client that has the same issue. This famr may have been a little unique and that helped with tracking down the issue. After reading all the posts and realizing that I am not sure if there is content in the databases right now, I decided to check the service applications and the proxies. What I found was interesting.
I used get-spserviceapplicationproxy to get list of all proxies
Then I used get-spserviceapplicaitonproxy [GUID of Metadata proxy] | fl
This lists all the properties for the proxy. I noticed that the ServiceendpointUri property still points to the old application server name (which no longer exists). I don’t have a resolution to fix it yet, but at least if someone comes looking here, they may have more information to work with.
Eric