Deleting data retrieval connection causes XDocument.GetDOM error - InfoPath Dev
in

InfoPath Dev

Deleting data retrieval connection causes XDocument.GetDOM error

Last post 12-10-2012 05:42 PM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-05-2012 07:15 AM

    Deleting data retrieval connection causes XDocument.GetDOM error

    I deleted the "DataRetrievalPCLCAgenda" Data Connection from my form and subsequently receive this error when trying to preview or open a filler form: 

    " Microsoft InfoPath

    InfoPath cannot open a new form.

    1 There was an error in the calculation code.

     

    Details

    InfoPath

    A call to XDocument.GetDOM failed. The DataObject “DataRetrievalPCLCAgenda" does not exist.

    Error occurred during a call to property or method 'GetDOM'."

     

    How do I remove the call to XDocument? 

     

     

  • 07-05-2012 09:36 AM In reply to

    Re: Deleting data retrieval connection causes XDocument.GetDOM error

    Usually this means that there was still a rule or default value using a field from this data connection before you deleted the data connection. If its a rule, you may be able to find it using the rule inspector on the different data sources of your form. You can also save the form as source files and search the manifest.xsf for any instances of the data connection name.

    Hilary Stoupa

  • 07-05-2012 10:51 AM In reply to

    Re: Deleting data retrieval connection causes XDocument.GetDOM error

    Thank you.  Solved the problem

     

  • 12-10-2012 05:30 PM In reply to

    • rocru
    • Not Ranked
    • Joined on 12-11-2012
    • Posts 1

    Re: Deleting data retrieval connection causes XDocument.GetDOM error

    What IF > Then you have check data connection, defaults, rules, and the manifest and results are NULL?
  • 12-10-2012 05:42 PM In reply to

    Re: Deleting data retrieval connection causes XDocument.GetDOM error

    Check the view xsl files too...
    Hilary Stoupa

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