E
Eray
I have several infopath forms that uses Web Services-Upadate List Items
Service top submit data to several sharepoint lists. Until yesterday all of
those forms were working without problem. I am thinking that one update
affect infopath and i started to get this error.
Everytime when i try to submit data i get this 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 ProjectTimeSheetSubmitForm.FormCode.CTRL29_5_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)
''''''''''''''''''''''''''''''''''''''''''''''
When i try to sumbit data in debugging mode of infopath;
It gives the error for this code line:
'''''''''''''''''''''''''''''''''''''''
confirm =
MessageBox.Show(root.SelectSingleNode("my:myFields/my:eName",
NamespaceManager).Value.ToString() + ": The form will be sumbitted to the
sharepoint, are you sure?", "Please confirm...", MessageBoxButtons.YesNo);
''''''''''''''''''''''''''''''''''''''''
And the actual error is:
''''''''''''''''''''''''''''''''''''''''''''''''''
System.Security.SecurityException was unhandled by user code
Message="Request failed."
Source="Microsoft.Office.InfoPath.Client.Internal.Host"
StackTrace:
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 ProjectTimeSheetSubmitForm.FormCode.CTRL29_5_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)
'''''''''''''''''''''''''''''''''''''''''''''''''''''
As i told there is nothing wrong with the code, because these forms worked
perfectly for several months and suddenly something happened and they stop
working. I didnt change a thing. i do not understand. i need the fix this
forms asap. Any suggestions.
Service top submit data to several sharepoint lists. Until yesterday all of
those forms were working without problem. I am thinking that one update
affect infopath and i started to get this error.
Everytime when i try to submit data i get this 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 ProjectTimeSheetSubmitForm.FormCode.CTRL29_5_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)
''''''''''''''''''''''''''''''''''''''''''''''
When i try to sumbit data in debugging mode of infopath;
It gives the error for this code line:
'''''''''''''''''''''''''''''''''''''''
confirm =
MessageBox.Show(root.SelectSingleNode("my:myFields/my:eName",
NamespaceManager).Value.ToString() + ": The form will be sumbitted to the
sharepoint, are you sure?", "Please confirm...", MessageBoxButtons.YesNo);
''''''''''''''''''''''''''''''''''''''''
And the actual error is:
''''''''''''''''''''''''''''''''''''''''''''''''''
System.Security.SecurityException was unhandled by user code
Message="Request failed."
Source="Microsoft.Office.InfoPath.Client.Internal.Host"
StackTrace:
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 ProjectTimeSheetSubmitForm.FormCode.CTRL29_5_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)
'''''''''''''''''''''''''''''''''''''''''''''''''''''
As i told there is nothing wrong with the code, because these forms worked
perfectly for several months and suddenly something happened and they stop
working. I didnt change a thing. i do not understand. i need the fix this
forms asap. Any suggestions.