Hi,
In 2007, we are using udcx files which are pointing to a custom aspx page.
<udc:Query>http://site_name/Connections/Query.aspx?web=/web_name&list=List_Name&caml=<View><ViewFields><FieldRef Name="Title"></FieldRef></ViewFields><Query><Where><Eq><FieldRef Name="Category"/><Value Type="Choice">State</Value></Eq></Where></Query></View></udc:Query>
Query.aspx file will return the result in XML format, this approach is working fine in 2007.
After migrating to 2010, InfoPath web form started throwing error message, looks like it is not treating Query.aspx as valid file.
Exception Message: The form cannot run the specified query. Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.
Any ideas?
Thanks in advance!