RequestId: ac15452e17116321004335519e3374
Uri: http://star.newlifex.com/trace?id=ac15452e1649035594650011be21ec&PageSize=1000&Sort=AppId&Desc=True
XCode.Exceptions.XSqlException: Unknown column 'AppId' in 'order clause'[SQL:[StardustData] Select * From SampleData_20240328 Where TraceId='ac15452e1649035594650011be21ec' Order By AppId Desc limit 1000][DB:StardustData/MySql] ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'AppId' in 'order clause' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at XCode.DataAccessLayer.DbSession.<Query>b__26_0(DbCommand cmd2) at XCode.DataAccessLayer.DbSession.<>c__DisplayClass34_0`1.<Execute>b__1(DbConnection conn) --- End of inner exception stack trace --- at XCode.DataAccessLayer.DbSession.<>c__DisplayClass34_0`1.<Execute>b__1(DbConnection conn) at XCode.DataAccessLayer.DbSession.Process[TResult](Func`2 callback) at XCode.DataAccessLayer.DbSession.Execute[T](DbCommand cmd, Boolean query, Func`2 callback) at XCode.DataAccessLayer.DbSession.Query(String sql, IDataParameter[] ps) at XCode.DataAccessLayer.DAL.Invoke[T1,T2,T3,TResult](T1 k1, T2 k2, T3 k3, Func`4 callback, String action) at XCode.DataAccessLayer.DAL.QueryByCache[T1,T2,T3,TResult](T1 k1, T2 k2, T3 k3, Func`4 callback, String action) at XCode.DataAccessLayer.DAL.Query(SelectBuilder builder, Int64 startRowIndex, Int64 maximumRows) at XCode.Entity`1.FindAll(Expression where, String order, String selects, Int64 startRowIndex, Int64 maximumRows) at XCode.Entity`1.FindAll(Expression where, PageParameter page, String selects) at XCode.Entity`1.Meta.AutoShard[T](DateTime start, DateTime end, Func`1 callback)+MoveNext() at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Stardust.Data.Monitors.SampleData.Search(Int64 dataId, String[] traceIds, Nullable`1 success, DateTime start, DateTime end, PageParameter page) at Stardust.Web.Controllers.TraceController.Search(String traceId, Pager p) at Stardust.Web.Controllers.TraceController.Index(String id, Pager pager) at lambda_method398(Closure, Object, Object[]) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at NewLife.Cube.WebMiddleware.TenantMiddleware.Invoke(HttpContext ctx) at NewLife.Cube.WebMiddleware.RunTimeMiddleware.Invoke(HttpContext ctx) at NewLife.Cube.WebMiddleware.TracerMiddleware.Invoke(HttpContext ctx) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at NewLife.Cube.CubeService.<>c__DisplayClass7_0.<<UseCube>b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)