Link to home
Start Free TrialLog in
Avatar of cnibspteam
cnibspteamFlag for United States of America

asked on

Powershell error creating SharePoint Metadata Service Application Proxy

I have been following the instructions from the following site regarding consuming SharePoint services from another SharePoint farm:

http://blogs.msdn.com/b/mcsnoiwb/archive/2010/02/05/how-to-publish-a-managed-metadata-service-for-cross-farm-consumption.aspx#step4

Everything was going great until I encountered the following error in Powershell:

New-SPMetadataServiceApplicationProxy : ServiceApplication or URI must be speci
fied when creating a proxy.
At line:1 char:38
+ New-SPMetadataServiceApplicationProxy <<<<  -Name "Enterprise Metadata Servic
e Proxy" -URI (Receive-SPServiceApplicationConnectionInfo -FarmUrl https://intr
anetapp1:32844/Topology/topology.svc   | Where {$_.Name -eq "Enterprise Metadat
a Service"}).Uri
    + CategoryInfo          : InvalidArgument: (Microsoft.Share...ataServicePr
   oxy:SPCmdletNewMetadataServiceProxy) [New-SPMetadataServiceApplicationProx
  y], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.Taxonomy.Cmdlet.SPCmdletNew
   MetadataServiceProxy

Open in new window


here is my command:

PS C:\> New-SPMetadataServiceApplicationProxy -Name "Enterprise Metadata Service Proxy" -URI (Receive-SPServiceApplicationConnectionInfo -FarmUrl https://sitename/Topology/topology.svc   | Where {$_.Name -eq "Enterprise Metadata S
ervice"}).Uri

Open in new window


any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Justin Smith
Justin Smith
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cnibspteam

ASKER

I will double check