I'm working in a Windows Server 2008 R2 Enterprise x64 with C# Windows Form Application, to connect in a Oracle 11g Database with NHibernate. I used the followed NHibernate configuration:
string connectionProvider = "NHibernate.Connection.DriverConnectionProvider";
string dialect = "NHibernate.Dialect.Oracle10gDialect";
//to use OracleDataClientDriver (ODP.NET), must configure the appropriated "Plataform Target".
//In Windows Server, is not possible work with ODAC x64, because the Windows Form Application don't accept
//"Platform Target" = "Any CPU" configuration. For this, it was intalled the ODAC1120320_32bit
connectionDriver = "NHibernate.Driver.OracleDataClientDriver";
string connectionString = ...
It worked for few days, but now, the error "Could not create the driver from NHibernate.Driver.OracleDataClientDriver." appears. The C# project configuration are like the picture:
I really don't know what more tests I need to do, because ODACs for 32 and 64 bits was installed and unistalled. Please help. Thank you.