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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

异常详细信息: System.Data.OleDb.OleDbException: 标准表达式中... [复制链接]

1#
堆栈跟踪:


[OleDbException (0x80040e07): 标准表达式中数据类型不匹配。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1165704
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +189
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +162
   System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +107
   PageAdmin.master_login.vCBu9t9Jd6(String , DateTime ) +56
   PageAdmin.master_login.oDeugsfqVr() +682
   PageAdmin.master_login.Page_Load(Object src, EventArgs e) +156
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +74
   System.Web.UI.Control.LoadRecursive() +120
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2851


新手求组。弄了半天,还是不知道哪里错。
分享 转发
TOP
2#

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: 标准表达式中数据类型不匹配。

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 (0x80040e07): 标准表达式中数据类型不匹配。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +177
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +194
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +56
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +105
   System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +88
   PageAdmin.master_login.tNvFdpUYN4(String , DateTime , String ) +85
   PageAdmin.master_login.ED4FvsiPhZ() +976
   PageAdmin.master_login.Page_Load(Object src, EventArgs e) +536
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45
   System.Web.UI.Control.OnLoad(EventArgs e) +80
   System.Web.UI.Control.LoadRecursive() +49
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3750



我的也是 急死了 高手在哪里 指点迷津啊
TOP
3#

我也是遇到这个问题

异常详细信息:System.Data.OleDb.OleDbException: 标准表达式中数据类型不匹配

只有在调试模式下进行编译时,生成此未处理异常的源代码才会显示出来。若要启用此功能,请自行以下步骤,然后请求URL:

1、在产生错误的文件顶部添加一条“Debug=true"指令。
<%@page Languge="C#" Debug="true"%>

2、将以下的节添加到应用程序的配置文件中:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
TOP
4#

可能是时间表达的问题,你参考一下这个文档:http://www.pageadmin.net/article/2015/1162.html
TOP
发新话题 回复该主题