是不是oracle链接问题?,你应该到微软网站下载最近的oracle链接驱动。。
解决方案 »
- jquery无法加载josn数据到表单,哪位高手进来看下
- 如何用.NET2005把word文档读取到水晶报表中
- RequiredFieldValidator控件问题?
- 匹配字符串 "XXX" 正则表达式怎么写
- 页面刷新时 滚动条的位置不变如何实现 谢
- 新手问个小问题, 帮解决的我将拜他为师傅
- 奇怪的问题:调试存储过程(用查询分析器)时能执行,但就是写不进数据库,还占了id,为什么?
- 怎样列出一个目录下所有的文件by c#
- datagird传递问题?
- 前台脚本中的confirm怎么和后台通讯
- 行 64: “Passport”和“None”行 65: -->行 66: <authentication mode="Windows" /> 行 68: <!-- 应用程序
- 散分!!!三喜临门!!!
我给你贴上来。如下:
“/chushen_mcb”应用程序中的服务器错误。
--------------------------------------------------------------------------------在执行命令过程中,发生了一个或多个错误。 ORA-00932: 数据类型不一致
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.OleDb.OleDbException: 在执行命令过程中,发生了一个或多个错误。 ORA-00932: 数据类型不一致源错误:
行 119: //com.CommandText="insert into chushen_mcb(BingYi_BH) values(''"+BingYi_BH.Text.Trim()+"'')";
行 120: com.Connection.Open();
行 121: com.ExecuteNonQuery();
行 122: com.Connection.Close();
行 123: // cn.Open();
源文件: c:\inetpub\wwwroot\chushen_mcb\webform1.aspx.cs 行: 121 堆栈跟踪:
[OleDbException (0x80040e14): 在执行命令过程中,发生了一个或多个错误。
ORA-00932: 数据类型不一致]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
chushen_mcb.WebForm1.Btn_OK_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\chushen_mcb\webform1.aspx.cs:121
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.0
我已经解决了,谢谢你们!