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 :)