Request Failed Infopath Form

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.
 
C

Clay Fox

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.
 
E

Eray

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.
 
T

Tamkeen Khan

This error mainly occurs due to the trust level settings, so change the Security and Trust Level Settings.

Select Tools-->Form Options -->Security and Trust -->
and uncheck the checkboc automatically determine the security level and select the option Full Trust.



Era wrote:

Request Failed Infopath Form
27-Mar-08

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 cod
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.

EggHeadCafe - Software Developer Portal of Choice
Web access to EnterpriseDB with Data Access Pages
http://www.eggheadcafe.com/tutorial...e-f3e625e35771/web-access-to-enterprised.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top