Trouble Submiting InfoPath 2007 Form

S

Subbu

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
 
S

Subbu

Hi,
There is no code behind for this form. All that I have is a submit button
which invokes Submit action.

Thanks,
Subbu
 

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