When attempting to connect to the bank, I got the error according to the attached image. My application is web in .net, visual studio 2010, database oracle sql developed 3.1.07.
My code where you get the error:
protected int GetRowCounts()
{
int iRowCount = 0;
using (OracleConnection conn = new OracleConnection("DATA SOURCE=DAPP;PASSWORD=APL_SD7#PP4;USER ID=APL_SDP"))
{
OracleCommand cmd = new OracleCommand("select count(*) from SDPJ_IMPORT_PROCESSO", conn);
conn.Open();
// Executa o SqlCommand e obtendo as contagens da linhas.
iRowCount = (int)cmd.ExecuteScalar();
}
return iRowCount;
}