Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2008

Tip: Looking for answers? Try searching our database.

Request Failed Infopath Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eray - 27 Mar 2008 16:38 GMT
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.
Clay Fox - 27 Mar 2008 18:42 GMT
Hey There.

I wonder if the GuID in Sharepoint got changed?  That would break the updates.

Have you considered using a database or XML to store your lists?  If you are
managing all of the updates within your form there are other data sources
which are more powerful, easier to use, and less problematic.
Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> I have several infopath forms that uses Web Services-Upadate List Items
> Service top submit data to several sharepoint lists. Until yesterday all of
[quoted text clipped - 59 lines]
> working. I didnt change a thing. i do not understand. i need the fix this
> forms asap. Any suggestions.
Eray - 27 Mar 2008 18:53 GMT
No, teh guIDs are all same. But even if it is a guID problem, i would get the
error on the code line which submits the data. However i am getting an error
on the code line which is trying to open a confirmation box. Recently i
install .net 3.5. but i do not think it is a .net issue. i tried to rebuild
the code but same error. I am using sharepoint because my manager wanted to
see everything under share point. they do not want to use different forms to
query and filter the database everytime. they just go sharepoint and they can
se and filter the data.

> Hey There.
>
[quoted text clipped - 67 lines]
> > working. I didnt change a thing. i do not understand. i need the fix this
> > forms asap. Any suggestions.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.