SharePoint Error : The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started.


This error "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." appears with various possible ways. I have tried googling and everybody has given a solution to provide permission to Managed Metadata Service Application. But, this didn't fix my issue.

I have looked at the ULS logs, it gives me access error as below.

Exception occured while connecting to WCF endpoint: System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.    Server stack trace:   

The below are possible solutions for this issue.

Solution 1:  Check your IIS and check IUSR is added in Anonymous Authentication. Here are the steps.

  • Open the IIS and click on ServerName in left pane. Now Click on Authentication in middle pane as shown in below screenshot.

 

  • Right Click on Anonymous Authentication and select Edit option.

  • Click on Specific User radio bution and click on Set Button. The below dialog appears. Type IUSR in user name field and click on OK button.

 

  • Here is the below screenshot once you set the IUSR user. Click on OK button. Now, you try to navigate managed metadata service from central admin. This will fix your issue.

 

 

Solution 2: Could be a permission issue on Managed Metadata Service Application. Check the below link for the fix.

1. Go to SharePoint Central Administration Site –> Application Management –> [Service Applications] –> Manage service applications

2. Highlight the Managed Metadata Service that your web application is associated with. (Do not click on the link, just click somewhere else on that row to highlight it)

3. Click on Permissions button in the ribbon area.

4. Add the application pool account used by your web application and give it at least ‘Read Access to Term Store

image

5. click OK

More Info :

http://blogs.msdn.com/b/allenwang/archive/2011/03/22/the-managed-metadata-or-connection-is-currently-not-available.aspx

 

Solution 3: Issue could be Managed Metadata Service wouldn't have started. Check the below link for the fix.

Resolution: Make sure the managed metadata service is already started.

How to check this:-

Central Administration -> manage services on server -> managed metadata service -> start

Once the service is in started mode then check the results again by clicking on the managed metadata service application, it has to open the page without any errors\exceptions.

If you face the same error message as mentioned above then please execute IISRESET once and that’s it. More Info: http://sharepointknowledgebase.blogspot.co.uk/2013/04/the-managed-metadata-service-or.html

 

Solution 4: Low Disk Space in database Server. Check your disk space in database server.

Solution 5: Check the database permission of the farm account


Comments (33)

  1. Dylan Nicholson says:

    Actually for me it was that it had created the application pool with the wrong credentials, so I had to go into to IIS to fix them manually.

    But even once I did that there's a far more serious problem, which is that the custom sort order simply doesn't work.  I created a new TermSet with the values One, Two, Three, set the custom sort order appropriately, then added a Managed Metadata column to a document library and set one document with the value "One", a second with the value 'Two' and a third with the value 'Three'.  I then sorted on this column and was rather baffled to see it sort them as One, Three, Two, which is of course the alphabetic order not the custom sort order I specified.  I double checked everything was defined correctly, restarted various services etc., but to no avail…it still only sorts alphabetically.

  2. Chandrakanth says:

    Thanks…………….

  3. Ulrich Bachmann says:

    For me it was the missing "Service Connection" for my Web Application.

    * go to Central Administration/Application Management/Manage web applications/<Web App>

    * click "Service Connections" in the ribbon

    * check "Managed Metadata Service" (active only if connection group "[custom]" is used)

  4. Kshitiz Saxena - Thank You says:

    Solution 2: Could be a permission issue on Managed Metadata Service Application. Check the below link for the fix.

    Worked for me..Many thanks!!

  5. Matthew Carter says:

    Thank you, I was paniced, and at the end, I had to do an IISReset and it "came back!" Thank goodness, it was possibly MY JOB! 🙂

  6. Awesome … My SP2013 installation over 18mths old suddenly failed today (after a few Windows updates last friday) as follows:

    – Managed metadata error as described above

    – User profile service home page not displaying

    – Search service query processor failing

    Solution 1 seemed to fix all these 🙂

  7. Mark Kamoski says:

    Please help. I tried Solution 1 and Solution 2. Neither worked. They were both already configured as you show in the article. So no changes needed to be made. Furthermore, the machine has been restarted many times recently, and iisreset has also been run many times too. I keep getting "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" when I view the Site Settings, Term Store Management Tool, via Central Administration, in SharePoint 2013. Do you have anohter solution?

  8. SP_M says:

    Non of the solutions provided by you worked for me. It was working for me few weeks ago.

    Below is the entry in my ULS logs:

    Error encountered in background cache check System.TimeoutException: The request channel timed out attempting to send after 00:00:09.9999999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. —> System.TimeoutException:

  9. Jesper Enavall says:

    I solved it by changing the name of the database in Managed Metadata properties and after that changing it back again. For example, if the database name is "Managed Metadata Service", change it to "Managed Metadata Service 2" and click OK. Then change it back again to "Managed Metadata Service". Worked fine for me. I guess SharePoint reconfigure the service from start when doing this approach.

  10. Heinrich Ulbricht says:

    @Jasper Envavall – your solution worked for me as well. Changed the database name, changed it back – works. Thank you.

  11. Aaron Turner says:

    @Jesper Enavall  – Your solution worked for me as well after going through everyone else's solution on here.  It's good practice guys, right? Yea I've got better things to do as well.  

    Anyway, after switching to the "Managed Metadata 2", if you refresh you will notice that you are actually creating a new database.  Make sure you clean up the  database after you switch back to the initial Management Metadata DB.  Just right click and delete the orphaned DB.  

    Again thank you.  To Jesper and Heinrich for confirming.

  12. Lex Lee says:

    @Jesper Enavall – Your solution worked for me too.

    @Aaron Turner – Thanks for reminding us to delete that orphaned DB.

    FYI – This happened to me after applying the Nov 2014 patch (15.0.4667.1000)

  13. Jason Warren says:

    Renaming and reconnecting to the original database worked for me as well. The service stopped working after applying the November 2014 CU. psconfig was successful, and I didn't check but it would be worth noting if the metadata database was in upgrade needed state and by reattaching it gets upgraded.

  14. Ahmedur Rab says:

    Here is other solution for your Managed meta service connection issue:

    1. Log in as farm/Admin account

    2. Central Administration – > Application Management  – >  Manage Service Application -> Highlight your managed metadata service  – > Properties [from top menu icon]  ->  Change the default application pool ["Sharepoint web services system"] to any other application pool -> Click "ok".  This might fix the issue

    3.(if required) If your MMS starts working, you can follow the previous steps and set it back to your original app pool.

    You may need IISRESET after step 2 and 3.

  15. Sharada says:

    Had this issue, first  solution did the trick, Thank you!!

  16. mahesh says:

    i faced the issue, but above all are not worked for me..

    the troubleshoot i done  is

    went to iis–>appPool–>sharepoint webservices root STARTED (before it is in stoped position, after starting this services the issue has been resolved)  

  17. Hi all,

    I had the same problem again in my environment, without doing anything the past 2 months and that is strange. This time it didn't work to rename the MMS database as I suggested before, so I deleted the MMS and created a new one with a new name. I tried to do everything mentioned above too, but nothing worked. You could do a backup of the database and do a restore after creating a new MMS database. Hopefully my environment is okay now, otherwise I think I have to reinstall and reconfigure SharePoint.

  18. Before you grant or change any permissions, you could try and run "psconfig -cmd secureresouces" on each of the SharePoint servers. This is due to a bug in one cumulative update that does not perform this step properly.

    NOTE: During this process some services might be unavailable on the server.

  19. Navish says:

    For me both did not worked. Even creating new MMS was failing.

    This happens when the account permissions get removed from the database.

    In my case i manually went to the SQL Server and MMS Database and gave the account running the MMS service read/write access and it worked.

  20. Elizabeth Hunt says:

    Solution 2 fixed my issue. Thank you so much!

  21. Anders Rönngren says:

    Thx @Jesper Enavall – Your solution worked for me!

  22. Marius Visser says:

    @Jesper Enavall

    Thanks very Much.

    Had the same issue and your solution helped fix my issue as well.

    Awesome fix!!

  23. laurieS says:

    Thanks Jesper. Your solution fixed a bunch of problems.

  24. GusC says:

    Thanks Jesper.  There is a typo in that command and it should be

    psconfig -cmd secureresources

  25. Krystel says:

    Never thought I'd be seeing you here Guru! 🙂 You're such a life saver.. Thanks

  26. Chuck says:

    psconfig.exe -cmd secureresources worked for me too.

  27. Robin Willems says:

    I was getting "Failed to get term store for proxy ‘Managed Metadata Service Application Proxy’. Exception: System.Security.SecurityException: Requested registry access is not allowed"

    It was fixed by Running Sharepoint Management Shell (Powershell) and Type

    Initialize-SPResourceSecurity <enter>

    After that i did an IISRESET /noforce and it was fixed.

  28. Karthik says:

    Thanks for the post. Really reduced my head ache.

  29. Eric Schrader says:

    Tried them all, IISReset fixed it in the end

  30. Armin says:

    Had the same error after re-loading/ re-creating Store terms. In our case recycling of the application pool resolved the issue.

  31. BlueSky2010 says:

    Great post Guru!

    Ran into a strange issue – In a 2013 farm from one of the Web server getting "The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started" error. Whereas Term store works fine from other Web servers. Went through your 5 steps solutions. Any thoughts what should I be looking at here?

    Appreciate any feedback!

  32. BlueSky2010 says:

    Digging ULS log gave me the answer. This was an access denied error in this path "D:Program FilesMicrosoft Office Servers15.0" …. granting Local group WSS_WPG full control, resolved the issue. Hope this helps someone.

Skip to main content