转:InfoPath 中 repeating table 的submit 时namespace 的问题,为何my: 变为 s1,如何解决?
2009-10-30 17:44
561 查看
http://blogs.microsoft.co.il/blogs/adlaim/archive/2009/01/29/the-following-expression-could-not-be-parsed-because-of-a-syntax-error-or-because-it-uses-an-undefined-namespace-prefix-or-unsupported.aspx
The following error occurs when you try to upload a browser based InfoPath 2007 Form which has .NET “code behind”
Form Verification Status
Failure
Cause:
For now, it seems that you have built one web service that uses a lot of different complex types ( which have different namespaces ) as a messages to serve different InfoPath forms
Solution:
In short – Just like the joke goes “close everything and re-open”, well it worked for me – or in other words :
Remove the Data Connection to the “Set” [WebMethod]
Save the form
Re-open it
Add a new Data Connection to the “Set” [WebMethod]
.. and walla ;)
and now you’d get this
The ohh so needed “my” namespace instead of “s1” , “s2” , “s3” …. namespaces
The following expression could not be parsed because of a syntax error or because it uses an undefined namespace prefix or unsupported
The following expression could not be parsed because of a syntax error or because it uses an undefined namespace prefix or unsupported
Problem:The following error occurs when you try to upload a browser based InfoPath 2007 Form which has .NET “code behind”
Form Verification Status
Failure
The following expression could not be parsed because of a syntax error or because it uses an undefined namespace prefix or unsupported function: /dfs:myFields/dfs:dataFields/tns:SetValue/s1:fd | manifest.xsf |
Cause:
For now, it seems that you have built one web service that uses a lot of different complex types ( which have different namespaces ) as a messages to serve different InfoPath forms
Solution:
In short – Just like the joke goes “close everything and re-open”, well it worked for me – or in other words :
Remove the Data Connection to the “Set” [WebMethod]
Save the form
Re-open it
Add a new Data Connection to the “Set” [WebMethod]
.. and walla ;)
and now you’d get this
The ohh so needed “my” namespace instead of “s1” , “s2” , “s3” …. namespaces
相关文章推荐
- [SharePoint 2007]如何解决上传InfoPath表单时一直处于正在安装状态的问题
- 如何解决InfoPath的分页问题
- [SharePoint 2007]如何解决上传InfoPath表单时一直处于正在安装状态的问题
- 如何在visio中画虚线框以及如何解决将visio图形复制到word文档中虚线变为实线的问题
- 如何解决带托管代码的infopath表单上传中的“正在删除”问题
- [VB.NET]请教一下如何解决My.Computer.FileSystem.GetFiles终于到的权限问题
- 如何解决使用 JMeter 时遇到的问题
- 数据挖掘是如何解决问题的
- 如何解决跨域问题?
- 如何解决服务器虚拟化中遇到的问题
- 如何使用URL跳转解决Web服务80端口被封问题?
- 前后端分离的项目,如何解决登录问题
- 如何解决PHP+FPM导致内存耗光的问题
- 如何解决p6spy日志记录sql语句重复的问题
- 机器学习(二):如何使用机器学习来解决一个问题?
- 如何解决开发中遇到的问题?| Chat · 预告
- 如何解决VMware ESX虚拟机假死或无法关闭和启动问题(转)
- 网站如何解决图片过大加载慢的问题?
- 如何来解决防火墙启动不了的问题?
- 解决多重定义问题/如何声明全局变量让多个cpp文件使用