Gionni wrote:
This code simply add a entry in a Oracle db (table InputData). It properly works if I run it in a console application.
If I run it in a web method of a web service, it returns this error: cannot open connection ---> NHibernate.ADOException: cannot open connection ---> NHibernate.ADOException: Could not create connection from Driver ---> System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
However I use the same driver with the same Oracle client version (9.2) from the same machine! If I use the same code changing the driver to SQL Server 2000, the web service works.
I can't understand why it does not work and I ask for your help.
We have had similar problems due to invalid access rights on Oracle installation folder. Granting "Full access" to everyne, and specifyng "replace on child entitys" in advanced page has cured the problem, thought it might not be suitable in Your enviroment. (So You might want to figure out the minimum rights needed to grant for aspnet user)
Gert