“/”应用程序中的服务器错误。

万博官网app体育_万博体育手机登录_万博手机ios

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Exception: 万博官网app体育_万博体育手机登录_万博手机ios

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[Exception: Illegal mix of collations (utf-8_chinese_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like']
   Maticsoft.DBUtility.DbHelperMySQL.Query(String SQLString) in E:\ZQ_SVNWork\MySQL_FoodSite\FoodSite_HeNan_Config\DBUtility\DbHelperMySQL.cs:494
   FoodSite.DAL.News_Article.GetListByPage(String strWhere, String orderby, Int32 startIndex, Int32 endIndex) +830
   FoodSite.BLL.News_Article.GetListByPage(String strWhere, String orderby, Int32 startIndex, Int32 endIndex) in E:\ZQ_SVNWork\MySQL_FoodSite\FoodSite_HeNan_Config\BLL\News_Article.cs:163
   FoodWebSite.Controllers.ShowInfoController.Search(String type, String keyword, Int32 id) +219
   lambda_method(Closure , ControllerBase , Object[] ) +225
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +248
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +125
   System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +452
   System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +15
   System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +31
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +230
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +20
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +462
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +371


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.1031