locked
The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator RRS feed

  • Question

  • Hi

    I have build a couple of test farms with almost the same SPAutoInstaller script and in both cases the managed Metadata service app worked perfectly .. In one of the servers, I have suddenly started getting. this error which I have never seen in any SharePoint 2013 farm I have built ...

    Now this is a bit strange

    • Both Manage Metadata service app and the corresponding web service are started.
    • The permissions for the app pool account are correct as in all 3 check boxes checked
    • the anonymous authentication in IIS is set to IUSR
    • No 'obvious errors' in ULS except: The SharePoint Health Analyzer detected an error.  Drives are running out of free space.  Available drive space is less than twice the value of physical memory. This is dangerous because it does not provide enough room for a full memory dump with continued operation. It also could cause problems with 
    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 was convinced that this server was on the August CU but damn it it's the Oct CU 


    Major  Minor  Build  Revision
    -----  -----  -----  --------
    15     0      4551   1001


    Any ideas as this really annoying. tho amusing to my client.

    Daniel



    Thursday, March 6, 2014 3:40 PM

Answers

  • Hi D,

    Please try the follwoing steps to re-create a new managed metada service applicaiton with old database, see if it works.

    1.Delete this managed metadata service application without delete the managed metadata database (firstly backup the managed metadata database).

    2.Then create a new managed metadata service application (with the old service application name and existing old managed metadata web application if you like) with a new database name.

    3.Then edit the managed metadata service application Property, replace the new database name with the old database name.

    4.Then IISRET, and check results again.

    http://www.1stquad.com/sharepoint-kompetenz-erfahrung-know-how/Blog/default/Januar-2014/Fixed-KeyNotFoundException-in-Managed-Metadata

    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Daniel Yang
    TechNet Community Support

    Friday, March 7, 2014 7:32 AM

All replies

  • Hi D,

    Please try the follwoing steps to re-create a new managed metada service applicaiton with old database, see if it works.

    1.Delete this managed metadata service application without delete the managed metadata database (firstly backup the managed metadata database).

    2.Then create a new managed metadata service application (with the old service application name and existing old managed metadata web application if you like) with a new database name.

    3.Then edit the managed metadata service application Property, replace the new database name with the old database name.

    4.Then IISRET, and check results again.

    http://www.1stquad.com/sharepoint-kompetenz-erfahrung-know-how/Blog/default/Januar-2014/Fixed-KeyNotFoundException-in-Managed-Metadata

    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Daniel Yang
    TechNet Community Support

    Friday, March 7, 2014 7:32 AM
  • Worked like a charm.  I was just a bit baffled why this broke in the first place. Thanks again. ...

    Daniel

    Monday, March 10, 2014 10:14 PM