Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Michael Worrall 57 posts 82 karma points
    Jan 09, 2013 @ 15:32
    Michael Worrall

    Upgrading from 4.7 to 4.11.1

    I've just upgraded a site to 4.11.1, all seemed to be fine after the upgrade however now if the app pool is recycled, the web.config touched or a binary uploaded I get an error when accessing an internal page, at which point I get an error as seen below.  If I get this error and hit the homepage of the site, it compiles and all is fine again, I can then browse to the internal pages again - until the next time the app pool recycles.

    Has anyone come across this error?  If so what is likely to be causing it?




    Server Error in '/' Application.

    '/root/* [@isDoc]/* [@isDoc and @urlName='what's-on']/* [@isDoc and @urlName='sleeping-beauty']' has an invalid token.

    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: '/root/* [@isDoc]/* [@isDoc and @urlName='what's-on']/* [@isDoc and @urlName='sleeping-beauty']' has an invalid token.

    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: '/root/* [@isDoc]/* [@isDoc and @urlName='what's-on']/* [@isDoc and @urlName='sleeping-beauty']' has an invalid token.]
       MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t) +4072462
       MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput) +72
       MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +349
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +17
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +70
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +70
       MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +205
       MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +30
       MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput) +31
       MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +54
       System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +52
       System.Xml.XPath.XPathNavigator.Select(String xpath) +14
       System.Xml.XmlNode.SelectNodes(String xpath) +45
       System.Xml.XmlNode.SelectSingleNode(String xpath) +7
       Umbraco.Web.DefaultPublishedContentStore.GetDocumentByRoute(UmbracoContext umbracoContext, String route, Nullable`1 hideTopLevelNode) +257
       Umbraco.Web.Routing.LookupByNiceUrl.LookupDocumentNode(PublishedContentRequest docreq, String route) +419
       Umbraco.Web.Routing.LookupByNiceUrl.TrySetDocument(PublishedContentRequest docRequest) +189
       Umbraco.Web.Routing.PublishedContentRequestBuilder.<LookupDocument1>b__1e(IPublishedContentLookup lookup) +15
       System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +151
       Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument1() +203
       Umbraco.Web.Routing.PublishedContentRequestBuilder.LookupDocument() +195
       Umbraco.Web.Routing.PublishedContentRequest.ProcessRequest(HttpContextBase httpContext, UmbracoContext umbracoContext, Action`1 onSuccess) +139
       Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +332
       Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +84
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 10, 2013 @ 18:12
    Jan Skovgaard

    Hi Mike

    What steps did you take in order to do the upgrade?

    Are you by any chance using uComponents? If so you might need to upgrade it as well.

    Please ellaborate a bit more on the process you have had doing the upgrade.

    Looking forward to hearing more from you.


Please Sign in or register to post replies

Write your reply to: