Could not allocate new OCI Handle of type Statement
我在unix下使用mono部署一个.net做的系统,执行SQL时出现“Could not allocate new OCI Handle of type Statement”异常
请问怎么解决?谢谢!
using (OracleConnection connection = new OracleConnection(connectionstring))
{
DataSet ds = new DataSet();
try
{
connection.Open();
OracleDataAdapter command = new OracleDataAdapter(SQLstring,connection);
command.Fill(ds);//这里出错
}
catch(System.Data.OracleClient.OracleException ex)
{
throw new Exception(ex.Message);
}
return ds;
}