Solved

Powershell error creating SharePoint Metadata Service Application Proxy

Posted on 2011-09-23
2
709 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This article will help you understand what HashTables are and how to use them in PowerShell.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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