Problem:
After setting up the Metadata Service where site collection was http://intranet, I’m trying to publish a custom content type from my hub.
But after hitting the OK button, the following error message appears:
Error
No valid proxy can be found to do this operation.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: xxxx..
Reason:
Actully i found that i had changed Alternate Access Mapping from http://intranet2010 to http://intranet.sp2010.com and then after created content type in http://intranet.sp2010.com and tried to publish that content type and i received above error because metata service having reference of OLD site collection URL http://intranet2010 that require to change to http://intranet.sp2010.com
Resolution:
1.Started powershall with “run as administrator”
2.run following command (if it is showing permission issue then first run Add-SPShellAdmin -UserName domain\administratorusername
Set-SPMetadataServiceApplication -Identity “ServiceApplication” -HubURI “HubURI”
e.g. Set-SPMetadataServiceApplication -Identity “Managed Metadata Service” –
HubURI “http://intranet.sp2010.com”
3. now publish your content type and it should work now.
–Cheer
Recent Comments