Solved

Powershell error creating SharePoint Metadata Service Application Proxy

Posted on 2011-09-23
2
705 Views
Last Modified: 2012-05-12
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?
0
Comment
Question by:cnibspteam
2 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 36591016
Positive that is the name of your MetaData service app in your service farm?
0
 

Author Comment

by:cnibspteam
ID: 36711625
I will double check
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now