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) +6460470
   MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +94
   MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +27
   MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +251
   MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +36
   MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +27
   MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +29
   MS.Internal.Xml.XPath.XPathParser.ParseExpresion(AstNode qyInput) +36
   MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +72
   System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +58
   System.Xml.XPath.XPathNavigator.Select(String xpath) +18
   System.Xml.XmlNode.SelectNodes(String xpath) +62
   application_webs.Module_XML.GetCompText(String ArgFilePath, String ArgCompName, String ArgCompLang, String ArgProperty) in D:\Proyectos\webs_clientes_2019\webs_clientes_2019\modules\Module_XML.vb:47
   application_webs.Module_MetaTags.ReplaceTempVariables(String ArgText, tmp_variables ArgVariables, Int32 ArgFooterLinksLang) in D:\Proyectos\webs_clientes_2019\webs_clientes_2019\modules\Module_MetaTags.vb:283
   application_webs.Module_MetaTags.BuildMetaTags(tmp_variables ArgVariables, String ArgLang, String ArgSpecialListing) in D:\Proyectos\webs_clientes_2019\webs_clientes_2019\modules\Module_MetaTags.vb:224
   application_webs.Site_webs_clientes.SetUpControlsWithoutViewState() in D:\Proyectos\webs_clientes_2019\webs_clientes_2019\webs_clientes.Master.vb:161
   application_webs.Site_webs_clientes.Page_Load(Object sender, EventArgs e) in D:\Proyectos\webs_clientes_2019\webs_clientes_2019\webs_clientes.Master.vb:122
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0