.NET连接Oracle数据库的问题
[color=#FF0000]运行时出现下列问题,为什么啊?[/color]用户代码未处理 System.ArgumentException
Message="不支持关键字: “provider”。"
Source="System.Data.OracleClient"
StackTrace:
在 System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
在 System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules)
在 System.Data.OracleClient.OracleConnectionString..ctor(String connectionString)
在 System.Data.OracleClient.OracleConnectionFactory.CreateConnectionOptions(String connectionOptions, DbConnectionOptions previous)
在 System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
在 System.Data.OracleClient.OracleConnection.ConnectionString_Set(String value)
在 System.Data.OracleClient.OracleConnection.set_ConnectionString(String value)
在 System.Data.OracleClient.OracleConnection..ctor(String connectionString)
在 Oracle.setData(String[] str_array) 位置 d:\SampleCode\C18\CallWebServiceTest\Oracle.aspx.cs:行号 121
在 Oracle.ASPxTimer1_Tick(Object sender, EventArgs e) 位置 d:\SampleCode\C18\CallWebServiceTest\Oracle.aspx.cs:行号 114
在 DevExpress.Web.ASPxTimer.ASPxTimer.OnTick(EventArgs e)
在 DevExpress.Web.ASPxTimer.ASPxTimer.RaisePostBackEvent(String eventArgument)
在 DevExpress.Web.ASPxClasses.ASPxWebControl.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(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)