Query Failed (reading 'queryAsync') - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Query Failed (reading 'queryAsync')

Last post 10-19-2022 03:08 AM by dapklp. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-18-2022 10:52 AM

    Query Failed (reading 'queryAsync')

    I have an old application-based form that I'm just trying to archive as a FV form so we can get to the data when InfoPath finally gives up the ghost. It has 3 data connections that load when the form is open (from SharePoint lists), but as a web-based FormsViewer form, I'm getting this error: Query Failed: An error occurred querying the data connection Companies. Details: Cannot read properties of undefined (reading 'queryAsync') - [Companies is the name of one of the 3 data SharePoint data connections]. I use the same data connections in my current web-based forms, so I'm not sure what the issue is or how to fix.
    Filed under: ,
  • 10-18-2022 11:03 AM In reply to

    Re: Query Failed (reading 'queryAsync')

    I wonder what the compatibility level of your old form is - is it 2007? Or perhaps the data connections are still 2007? Send it to me if you'd like me to take a quick look. Not sure if that's the exact error we see, but I do know that FV doesn't work with 2007 style list connections so that may be it. In which case you could save your form as 2010 or 2013 and update the data connections in the data connection window.
    Hilary Stoupa

  • 10-19-2022 03:08 AM In reply to

    Re: Query Failed (reading 'queryAsync')

    I also received this error when trying to open the originally posted form from IE: The form cannot be opened because either the signature is corrupt, or the certificate used to sign the form has expired or been revoked. To fix this problem, contact the form designer. Since the form is 10+ years old, the certificate is definitely expired. I adjusted the data connections to only open upon an event (and not every time the form is opened) and that worked. Since I already have an on-open event that clears a particular field every time the form is opened to ensure this particular field starts fresh each occurrence, I created another on-open rule afterwards that states if this field is blank, perform the 3 data queries. No more errors. And, yes, the Compatibility is 2007 Filler Form. Thank you.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.