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 / August 2006

Tip: Looking for answers? Try searching our database.

Trouble Submiting InfoPath 2007 Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Subbu - 23 Aug 2006 03:46 GMT
Hi,
I have a simple InfoPath form, which is web compatible. The form has a
'Submit' button which sets value for couple of fields and triggers the
'Submit' action using rules.

I've published the form to the SharePoint 2007 and uploaded the form using
Central Administration and Activated the form to a site collection. The
uploaded form templated is associated to a form library in the site
collection.

When I click 'Submit' in preview mode, the form is getting published to the
designated form library in the SharePoint server. But I could not open the
form from the Form library and I get the following error:

<<
The following location is not accessible, because it is in a different site
collection:
file:///C:\Documents%20and%20Settings\User1\Local%20Settings\Application%20Data\Microsoft\InfoPath\Designer2\4e00dbf7cd3440eb\manifest.xsf

When I try to open the form using web browser, the form is properly rendered
to the browser. After filling the form when I click on 'Submit' I get a
different error. The error is as follows:

<<
XsltContext is needed for this query because of an unknown function.

System.Xml.XPath.XPathException: XsltContext is needed for this query
because of an unknown function.
at
MS.Internal.Xml.XPath.CompiledXpathExpr.UndefinedXsltContext.ResolveFunction(String prefix, String name, XPathResultType[] ArgTypes)
at MS.Internal.Xml.XPath.FunctionQuery.SetXsltContext(XsltContext context)
at MS.Internal.Xml.XPath.StringFunctions.SetXsltContext(XsltContext context)
at MS.Internal.Xml.XPath.StringFunctions.SetXsltContext(XsltContext context)
at MS.Internal.Xml.XPath.StringFunctions.SetXsltContext(XsltContext context)
at MS.Internal.Xml.XPath.CompiledXpathExpr.SetContext(XmlNamespaceManager
nsManager)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.XPathTypedValueHost.EvaluateXPath(String xPath, Boolean selectSingleNode, Boolean& xPathEmptyResult)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.XPathTypedValueHost.EvaluateXPath(String xPath, Boolean selectSingleNode)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.XPathTypedValueHost.EvaluateSingleNode()
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharePointDav.Execute(XPathNavigator
input, Uri folderUri, Boolean allowOverwrite, XPathTypedValue fileNameXpath,
Boolean ensureXMLExtension, Document document, DataAdapterCredentials
credentials, Boolean useDcl)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharePointDav.Execute(XPathNavigator input)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharePointDav.Execute()
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.RuleAction.EvaluateExpression(Document document, XPathNavigator currentTarget)
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.RulesRuleSet.<>c__DisplayClass7.<EvaluateExpression>b__4()
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.RulesRuleSet.EvaluateExpression(Document document, XPathNavigator targetNavigator)
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.<>c__DisplayClass2.<Click>b__0()
at
Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.Click(Document document, XPathNavigator container)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.EventClick.Play(Document
document, BindingServices bindingServices, EventLogProcessor
eventLogProcessor)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.Event.PlayEvent(Document
document, BindingServices bindingServices, EventLogProcessor
eventLogProcessor)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.<>c__DisplayClass1.<ExecuteLog>b__0()
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLog(Int32 expectedEventLogID)
at
Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.PlayEventLog(EventLog eventLog, Boolean partialPostback)

Please help.

Thanks,
Subbu
hurtlingturtle - 23 Aug 2006 15:29 GMT
Hi Subbu,
Can you post all your code-behind?
cheers
Bruce
Subbu - 23 Aug 2006 18:48 GMT
Hi,
There is no code behind for this form. All that I have is a submit button
which invokes Submit action.

Thanks,
Subbu
Subbu - 31 Aug 2006 00:16 GMT
Solution posted at http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3248

Thanks,
Subbu
 
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.