Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Powershell error creating SharePoint Metadata Service Application Proxy

Posted on 2011-09-23
2
Medium Priority
?
739 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Loops Section Overview
Screencast - Getting to Know the Pipeline

610 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