nzsaint wrote:
> I have a windows service running using mono-service on openSUSE 11.1. The
> service attempts to start using the init script I have configured ok but
> then generates the following error during the first attempt to access an
> Oracle XE (10g) database. 
> 
> Could not allocate the Oracle environment.   at
> System.Data.OracleClient.Oci.OciGlue.CreateConnection (OracleConnectionInfo

Your init script is laking the necessary Oracle environment
variables.

Unfortunately I don't know where SUSE is storing these
variables (maybe in /etc/profile.d/oracle?), but even
if you don't find the script, you could simply re-export
all ORA and LD_LIBRARY_PATH variables you can find when
you open a shell and invoke "printenv|grep ORA".

Robert

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to