Thursday, November 5, 2015

IIS: Can't change Host Name

I was trying to change ports on some IIS sites and was facing this issue:

I tried to select different certificates and found that only certificates starting with "*" would allow me to change the host name. Instead of changing the required certificates I simply used this command:

Basically: If you are not using a wildcard certificate, f.ex. you are using a SAN cert, than IIS will not allow to change any values, especially not the host name. In SharePoint you might stumble upon host names, f.ex. MySite tend to use those, and might run into this issue.

Tuesday, November 3, 2015

SharePoint 2013: The Managed Metadata Service or Connection is currently not available

So I got 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.
I already tried a server reboot and an IIS reset, usually those worked like a charm. But not in this case. I also didn't want to rebuild the Managed Metadata Service.
I checked the WSS_ADMIN_WPG on my server just to see if my app pool account was part of this group. The account needs this group to be able to write on local files, directory, whatnot. After adding my app pool account to this group I ran a PowerShell cmdlet:
After this my Managed Metadata Service worked again.