I have a Windows service application that connects to database every minutes. Somethimes i get this error:
ORA-20110: ORA-06508: PL/SQL: could not find program unit being called
Solution is close and reconnect database in plsql but i want to do this in application side.
So i need to disable all connection poolings and try to reconnect database. How can i do this using devart ?
This is my connection
this.ConnectMode = OracleConnectMode.Default;
this.Direct = true;
this.Close();
this.Server = ConfigurationManager.AppSettings["db_hostname"];
this.Port = Convert.ToInt32(ConfigurationManager.AppSettings["db_port"]);
if (db_connection_type == "SID")
this.Sid = ConfigurationManager.AppSettings["db_sid"];
else
this.ServiceName = ConfigurationManager.AppSettings["db_sid"];
this.UserId = db_username;
this.Password = db_password;
this.Open();