PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

升级新版本出错 [复制链接]

1#
Server Error in '/' Application. 语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-12#)=0 and id>101)  or datediff('d',thedate,#2009-03-12#)<0)' 中。 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.Data.OleDb.OleDbException: 语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-12#)=0 and id>101)  or datediff('d',thedate,#2009-03-12#)<0)' 中。

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:

[OleDbException (0x80040e14): 语法错误 (操作符丢失) 在查询表达式 'infor1id=11 and infor2id=12 and and ((datediff('d',thedate,#2009-03-12#)=0 and id>101)  or datediff('d',thedate,#2009-03-12#)<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) +33   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) +1436
分享 转发
TOP
2#

数据库没升级好吧
TOP
发新话题 回复该主题