Data Connection to ASPX page not working after 2010 migration - InfoPath Dev
in

InfoPath Dev

Data Connection to ASPX page not working after 2010 migration

Last post 12-19-2012 11:57 PM by Jim Cantwell. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-12-2012 02:12 PM

    • purell
    • Not Ranked
    • Joined on 12-12-2012
    • Posts 1

    Data Connection to ASPX page not working after 2010 migration

     

    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!

     

  • 12-19-2012 11:57 PM In reply to

    Re: Data Connection to ASPX page not working after 2010 migration

    Is that the actual value inside the <udc:Query> element or did you decode it for clarity here?

    Can you attach the entire udc file ?

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.