ASP.NET网站oracle数据库 IIS配置的问题
事情是这样的:用ASP.NET开发了一个网站,数据库是oracle 数据库,服务器是2008R2的系统,网站和数据库不在同一台服务器上,在配置IIS的时候,提示如下错误:Server Error in '/' Application.
--------------------------------------------------------------------------------
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
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.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
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:
[Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.]
EMP_Web.DAL.OraHelper.Open() in D:\EMP_Report\DAL\OraHelper.cs:35
EMP_Web.DAL.OraHelper.GetRecordCount(String sql) in D:\EMP_Report\DAL\OraHelper.cs:183
EMP_Web.DAL.sys_userprofile.Exists(String cUser, String cPassWord) in D:\EMP_Report\DAL\System\sys_userprofile.cs:26
EMP_Web.BLL.sys_userprofile.Exists(String cUser, String cPassWord) in D:\EMP_Report\BLL\System\sys_userprofile.cs:17
EMP_Web.Default.btnLogin_Click(Object sender, ImageClickEventArgs e) in D:\EMP_Report\EMP_Web\Default.aspx.cs:38
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
请问如何解决?谢谢大家了