Submitting data from a published browser enabled form gives error - InfoPath Dev
in

InfoPath Dev

Submitting data from a published browser enabled form gives error

Last post 02-27-2009 01:19 PM by Ychhoker. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-27-2009 01:19 PM

    Submitting data from a published browser enabled form gives error

    Hi,

    I am using Infopath2007 and Visual Studio 2005. I created  a browser enabled form in Infopath 2007. It has two fields EmployeeName and ProductName in a repeating section and a "Update Data" button. On click of "Update button" i have written code in c#. In this C# code, i call a webservice to submit data to SQL Server 2005. Everything works great if i use this form on the machine where i created.

    Then i published this form on a network location. Opened this form from network location. When i hit "Update button" after entering values i am getting following error.

    Request failed.
       at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
       at Microsoft.Office.InfoPath.MsxmlNavigator.MoveToFirstChild()
       at MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
       at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
       at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
       at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
       at System.Xml.XPath.XPathNavigator.SelectSingleNode(XPathExpression expression)
       at System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath, IXmlNamespaceResolver resolver)
       at Timecard.Timecard.Submit_TimeCard_Clicked(Object sender, ClickedEventArgs e)
       at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
       at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)

    Is there some issue publishing a browser enabled form on a network location? Or am i missing something? Please help.

     

    Thanks a lot advance :)

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