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