Server Error in '/foursquare/Details' Application.

'//place[categories/category/@name='Women's Store']' 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: '//place[categories/category/@name='Women's Store']' 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: '//place[categories/category/@name='Women's Store']' has an invalid token.]
   MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t) +5357428
   MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput) +77
   MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +330
   MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +19
   MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +130
   MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +32
   MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +20
   MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput) +45
   MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +22
   MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +22
   MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +22
   MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +22
   MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +20
   MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +20
   MS.Internal.Xml.XPath.XPathParser.ParseExpresion(AstNode qyInput) +32
   MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +59
   System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +53
   System.Xml.XPath.XPathNavigator.Select(String xpath) +16
   System.Xml.XmlNode.SelectNodes(String xpath) +46
   LocationDetails.Controllers.ReportController.Category(String id) in C:\Users\odoyl\Dropbox\work\foursquare\LocationDetails\LocationDetails\Controllers\ReportController.cs:133
   lambda_method(Closure , ControllerBase , Object[] ) +104
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +182
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
   System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +34
   System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
   System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +228
   System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
   System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +24
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +38
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +28
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9850389
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


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