Latest members | More ...
this is my code for connection(for connecting to oracle using oledb ) OleDbConnection con =new OleDbConnection("provider=msdaora.1;User Id=myuserid;Password=mypassword"); but it shows error like this ORA-06413: Connection not open. 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: ORA-06413: Connection not open. Source Error: Line 17: OleDbDataReader dr; Line 18: string loantype1 = "", roi = ""; Line 19: con.Open(); Line 20: dr = cmd.ExecuteReader(); Line 21: DropDownList1.Items.Add("-----select---"); Source File: d:\aspnet\bankloansite\register.aspx.cs Line: 19
Eager Minds, if this helps please login to Mark As Answer. | Reply | Alert Moderator
Write New Post | More ...