简体   繁体   English

在Sharepoint 2013上部署InfoPath表单时出错:无法在服务器上使用XSN

[英]Error deploying InfoPath form on Sharepoint 2013: The XSN cannot be used on the server

I'm trying to deploy a InfoPath form to Sharepoint via Visual Studio, but I'm getting this error: 我正在尝试通过Visual Studio将InfoPath表单部署到Sharepoint,但出现此错误:

Error occurred in deployment step 'Add Solution': The XSN cannot be used on the server. 部署步骤“添加解决方案”中发生错误:无法在服务器上使用XSN。

I'm publishing the form to a network location. 我正在将表单发布到网络位置。 Any ideas? 有任何想法吗?

In most cases this error relates to the InfoPath form not being on the network share prior to deploying your solution 在大多数情况下,此错误与部署解决方案之前不在网络共享上的InfoPath表单有关

So in order to get rid of this error deploy the InfoPath form to your network share. 因此,为了消除此错误,请将InfoPath表单部署到您的网络共享。 After this replace the form in your Project file with the one from your network share. 此后,将项目文件中的表单替换为网络共享中的表单。

Make sure you run an elevated instance of Visual Studio or Powershell (run as Administrator) and then deploy your solution again. 确保您运行Visual Studio或Powershell的提升实例(以管理员身份运行),然后再次部署解决方案。 The error should not occur again. 该错误不应再次发生。

我发现,即使InfoPath建议将其与“发布路径”保持不变,“发布窗口”中的“访问路径”字段也必须为空白。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 一台计算机的Infopath表单错误(.xsn?SaveLocation ...) - Infopath form error from one computer (.xsn?SaveLocation…) 将信息路径表单部署到 sharepoint 的步骤? - steps for deploying infopath form to sharepoint? SharePoint 2013-使用REST API的InfoPath表单,无法获取数据 - SharePoint 2013 - InfoPath form using REST API and cannot get the data 如何以编程方式从InfoPath XSN模板创建InfoPath表单 - How to programmatically create an InfoPath form from an InfoPath XSN template 使用InfoPath表单部署SharePoint 2010解决方案时出错(路径不是合法形式。) - Error deploying SharePoint 2010 solution with InfoPath form (The path is not of a legal form.) 如何自动执行将InfoPath表单部署到SharePoint Server 2007的过程? - How can I automate the process of deploying an InfoPath Form to SharePoint Server 2007? Sharepoint Infopath表格2013更改事件未将值更新回表格 - Sharepoint Infopath Form 2013 Change Event not updating the value back in the form SharePoint 2010自定义InfoPath任务表单错误:找不到指定的表单 - SharePoint 2010 Custom InfoPath task form error: The specified form cannot be found 错误5337将InfoPath表单提交到SharePoint - Error 5337 submitting InfoPath form to SharePoint Infopath 表单在访问时引发错误 - sharepoint - Infopath form raises error when accessed - sharepoint
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM