This project is read-only.
1
Vote

Demo Error

description

On filter demo of grid if the selection Starts with 'a' then an exception is thrown
 
Server Error in '/' Application.
')' or operator expected
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.Linq.Dynamic.ParseException: ')' or operator expected
 
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:
 
[ParseException: ')' or operator expected]
System.Linq.Dynamic.ExpressionParser.ParseParenExpression() +141
System.Linq.Dynamic.ExpressionParser.ParsePrimaryStart() +71
System.Linq.Dynamic.ExpressionParser.ParsePrimary() +14
System.Linq.Dynamic.ExpressionParser.ParseUnary() +262
System.Linq.Dynamic.ExpressionParser.ParseMultiplicative() +26
System.Linq.Dynamic.ExpressionParser.ParseAdditive() +29
System.Linq.Dynamic.ExpressionParser.ParseComparison() +29
System.Linq.Dynamic.ExpressionParser.ParseLogicalAnd() +26
System.Linq.Dynamic.ExpressionParser.ParseLogicalOr() +26
System.Linq.Dynamic.ExpressionParser.ParseExpression() +23
System.Linq.Dynamic.ExpressionParser.Parse(Type resultType) +23
System.Linq.Dynamic.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values) +46
System.Linq.Dynamic.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values) +65
System.Linq.Dynamic.DynamicQueryable.Where(IQueryable source, String predicate, Object[] values) +62
System.Linq.Dynamic.DynamicQueryable.Where(IQueryable1 source, String predicate, Object[] values) +58
DotNetAge.Examples.DJME.Controllers.ModelBinderEx.BindForGrid(DbSet
1 dataSource, Func2 keySelector, QueryParams query) +2047
DotNetAge.Examples.DJME.Controllers.GridController._GetDataResult(QueryParams _params) +189
DotNetAge.Examples.DJME.Controllers.GridController.ServerFiltering(QueryParams _params) +42
lambda_method(Closure , ControllerBase , Object[] ) +108
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters) +188
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +27
System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation) +267
System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +20
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) +267
System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +20
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList
1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +329
System.Web.Mvc.Controller.ExecuteCore() +115
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +94
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +37
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21
System.Web.Mvc.Async.<>c__DisplayClass8
1.<BeginSynchronous>b__7(IAsyncResult _) +12
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +31
System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7
System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +23
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +59
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8962909
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184
 
 
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.233

comments

csharp2002 wrote Nov 10, 2011 at 2:54 PM

This days i'm updating the DJME on dotnetage.com , i will fix soon .
Thank your for helping

wrote Feb 14, 2013 at 3:19 AM