托管元数据服务应用程序导出-导入问题 [英] Managed Metadata Service Application export-import issue

查看:44
本文介绍了托管元数据服务应用程序导出-导入问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只有一个装有SharePoint 2013和SQL 2014的盒子.

我正在尝试使用Export-SPMetadataWebServicePartitionData命令导出托管元数据.

连续出现错误 Export-SPMetadataWebServicePartitionData:目录名称无效.
在第2行:char:1
+ Export-SPMetadataWebServicePartitionData $ svc.Id -ServiceProxy $ proxyName-路径  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          ;: InvalidData:(Microsoft.Share ... cePartitionData:SPCmdletExportM ... cePartitionData)[Export-SPMetadataWebServicePartitionData],FaultException`1
    + FullyQualifiedErrorId:Microsoft.SharePoint.Taxonomy.Cmdlet.SPCmdletExportMetadataWebServicePartitionData

我已尝试使用https://technet.microsoft.com/zh-CN/library/ff607847.aspx

中提供的两种格式的路径

除了SQL权限中的sysadmin外,SharePoint服务器场帐户,SQL服务帐户和MMS应用程序池标识都具有对位置和批量管理员权限的完全控制权.

请帮助.

此致


Vaibhav Antriwale

解决方案

您好VAntriwale,

从错误消息中看,PowerShell.exe进程似乎无法读取脚本的路径,但是在这里我无法通过一些快速测试来重现该错误.

与管理员一起运行以下代码(或与PowerShell ISE一起运行该代码)并比较结果:

 


mmsApplication = Get-SPServiceApplication | ? {


_.TypeName -eq托管元数据服务"}}


I have a single box with SharePoint 2013 and SQL 2014 installed. 

I am trying to export the Managed Metadata using the Export-SPMetadataWebServicePartitionData command.

Continuous getting the error 

Export-SPMetadataWebServicePartitionData : The directory name is invalid.
At line:2 char:1
+ Export-SPMetadataWebServicePartitionData $svc.Id -ServiceProxy $proxyName -Path  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...cePartitionData:SPCmdletExportM...cePartitionData) [Export-SPMetadataWebServicePartitionData], FaultException`1
    + FullyQualifiedErrorId : Microsoft.SharePoint.Taxonomy.Cmdlet.SPCmdletExportMetadataWebServicePartitionData

I have tried to use the path in both formats as provided in https://technet.microsoft.com/en-us/library/ff607847.aspx

The SharePoint farm account, SQL service account and MMS application pool identity all are having Full control to the location and bulk admin permission in addition to sysadmin in SQL permissions.

Please help.

Regards,


Vaibhav Antriwale

解决方案

Hi VAntriwale, 

From the error message, it seems that the PowerShell.exe process can't read the path to your script, but I can't reproduce that error here with some quick testing.

Run the following code with administrator (or run the code with PowerShell ISE) and compare the results:


mmsApplication = Get-SPServiceApplication | ? {


_.TypeName -eq "Managed Metadata Service"}


这篇关于托管元数据服务应用程序导出-导入问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆