Solved

Powershell error creating SharePoint Metadata Service Application Proxy

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 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