Catastrophic Failure in Infopath While submitting to the Form Library - InfoPath Dev
in

InfoPath Dev

Catastrophic Failure in Infopath While submitting to the Form Library

Last post 01-01-2010 04:07 PM by eddyblanco. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-16-2009 08:19 AM

    Catastrophic Failure in Infopath While submitting to the Form Library

    Hi,

    Using the below code i am trying to submit the infopath form in a form library in MOSS 2007.

     XDocument.DataAdapters["Data Connection Name"].Submit();

    Here i am getting the error is "The form cannot be submitted to the following location : http://.... (site name/filename.xml) " "Catastrophic failure" Its saying above two lines. Its not happening for all the infopath forms, its only happening for random no.of files out of 1000 forms. I am unable to figure out this issue because of Catastrophic failure. For more information on this, i am using Javascript for the behind code. So kindly i need your help on this Catastrophic failure. Thanks in advance, SPS.
  • 01-01-2010 04:07 PM In reply to

    Re: Catastrophic Failure in Infopath While submitting to the Form Library

    Hello rtkfour2, I actuall had the same issued on one my forms and never found a solution or the reason. What I did was do a try catch and add the same code to the catch.

    try

    {XDocument.DataAdapters["Data Connection Name"].Submit();}

    catch{XDocument.DataAdapters["Data Connection Name"].Submit();}

     

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