Posted on 21/07/2014 13:42:37
Hi DW,
I just updated a custom solution to Application(8.4.0.21) from 8.4.0.7, and now i get this error:
Server Error in '/' Application.
Expression must evaluate to a node-set.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XPath.XPathException: Expression must evaluate to a node-set.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[XPathException: Expression must evaluate to a node-set.]
MS.Internal.Xml.XPath.XPathParser.ParseNodeTest(AstNode qyInput, AxisType axisType, XPathNodeType nodeType) +7386830
MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +89
MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +27
MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +40
MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +27
MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +29
MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +29
MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +29
MS.Internal.Xml.XPath.XPathParser.ParseExpresion(AstNode qyInput) +46
MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean allowVar, Boolean allowKey) +91
System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +53
System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath) +21
Dynamicweb.Settings.Persist() +520
Dynamicweb.Base.SetGs(String Path, String Value, Boolean UseCDATA) +73
Dynamicweb.Frontend.Update.SetSolutionRenewVersion(String InternalVersion) +188
Dynamicweb.Frontend.Update.RunUpdate(String filepath) +697
Dynamicweb.Frontend.Update..ctor() +679
Dynamicweb.Frontend.GlobalAsaxHandler.ApplicationStart(Object sender, EventArgs e) +806
Dynamicweb.Frontend.GlobalAsaxHandler.Application_AuthenticateRequest(Object sender, EventArgs e) +471
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
It seems my Globalsettings file is invalid now. Any idea how i can fix this?
// Martin