1
When making attempts to connect to the bank I obtained the error according to the attached image. My application is web in . net, visual studio 2010, oracle sql database developed 3.1.07.
My code showing 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;
}
This answer may help
– George Wurthmann
Just correcting :D you wrote dot net., but it doesn’t make sense. It’s dotnet or .Net, after all dot is dot in English. If you write dot net. would be the same as dotdotnet or ..net.
– Vinícius Lima