zhaowei_cf1314 - 2009/6/14 9:55:00
只有一个子栏目的文章列表出现这个问题~换再添加一个子栏目调用同样的文章列表就没事了~
是不是模板的漏洞啊~
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-08#)=0 and id>79) or datediff('d',thedate,#2009-03-08#)<0)' 中。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.OleDb.OleDbException: 语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-08#)=0 and id>79) or datediff('d',thedate,#2009-03-08#)<0)' 中。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[OleDbException (0x80040e14): 语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-08#)=0 and id>79) or datediff('d',thedate,#2009-03-08#)<0)' 中。]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106
System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +111
System.Data.OleDb.OleDbCommand.ExecuteReader() +6
PageAdmin.articleinfo.Get_NextTitle(String List_Order, Int32 Infor1Id, Int32 Infor2Id, Int32 InforId, String C_Date) +769
PageAdmin.articleinfo.Get_info() +1424
PageAdmin.articleinfo.Page_Load(Object sender, EventArgs e) +237
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
apple163 - 2009/6/14 11:20:00
哪个版本?
哪个子栏目出错,就到到后台的子栏目的对应文章列表那里重新调用看看
zhaowei_cf1314 - 2009/6/14 11:42:00
就是一个栏目调用~昨天还没有事今天突然这样~
换了个栏目调用那个文章列表就没有问题~出问题的栏目调用别的文章列表出一样的问题~
所以才问问是不是这是什么问题~要是这样总出这问题谁受的了啊~
xiyou - 2009/6/14 13:43:00
可能自己升级时候information表中的thedate字段没有值导致错误.
升级到最新版本,然后把所有文章列表调用一下就会恢复