Server Error in '/' Application.

'//text[@value='loginSlogan']/treasure-hit-editor 112015.pdf' 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: '//text[@value='loginSlogan']/treasure-hit-editor 112015.pdf' has an invalid token.

Source Error:


Line 9:  
Line 10:         <div id="loginPageTextSection" class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
Line 11:             <h2 class="col-lg-offset-1 col-md-offset-1" id="loginPageTitle">@Html.VocValue(lang, "loginSlogan")</h2>
Line 12:             <p class="col-lg-offset-1 col-md-offset-1" id="loginPageSubTitle">@Html.VocValue(lang, "loginSubSlogan")</p>
Line 13: 

Source File: e:\Projects\FacultyProjects\Treasure-HIT\Views\Login\Index.cshtml    Line: 11

Stack Trace:


[XPathException: '//text[@value='loginSlogan']/treasure-hit-editor 112015.pdf' has an invalid token.]
   MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +6461906
   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
   MTH.Models.MTHDictionary.getValue(String language, String value) +119
   ASP._Page_Views_Login_Index_cshtml.Execute() in e:\Projects\FacultyProjects\Treasure-HIT\Views\Login\Index.cshtml:11
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +147
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +86
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +31
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +187
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +27
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__4(IAsyncResult asyncResult) +41
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +36
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


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