Initialize-SPResourceSecurity and IISRESET fix inaccessible new Term Store
Post date: Oct 19, 2016 7:43:50 AM
We've all seen this in a new farm, and it's annoying.
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.
And so far I've been unable to solve this, permanently. You check the application pool, services.msc, services on server, database login user mappings, and everything is OK. But today I saw this comment on the post 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.
August 19, 2015 at 1:08 am
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
After that i did an IISRESET /noforce and it was fixed.
Without having much hope I run:
PS C:\> Initialize-SPResourceSecurity
PS C:\> IISRESET
Internet services successfully stopped
Internet services successfully restarted
Reload the Term Store - and it just worked. One wonder why this isn't initiated by default after creating a new service application? Anyway - this does the trick when installing using AutoSPInstaller in a SharePoint Server 2016 Farm.