[Mono-dev] Migrating .NET to Linux Mono !

Thiago Henrique Sampaio Silva thiago.sampaio at cea.com.br
Tue Jul 31 11:26:11 EDT 2007

Hi All,

I am trying to migrate .NET applications previous developed in Windows
to Linux, but i have some troubles.
The connection with oracle database is no working. I have a Oracle 10G
installed and configured in server but the data server is Oracle9i i
don't know there is a problem. 

The error showed wen access application is:

"The remote server returned an error: (500) Internal Server Error.
System.Exception: libclntsh.so
  at WSSegurancaPA.cDATA.consultar (returnType penuReturnType,
CommandType penuCommandType,
        System.String pstrSql, System.Object pobjParameters) [0x00000] 
  at WSSegurancaPA.WSSegurancaPA.retornaMenus () [0x00000] 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr,
        System.Reflection.Binder binder, System.Object[] parameters,
        System.Globalization.CultureInfo culture) [0x00000] "

The ORACLE_HOME and LD_LIBRARY_PATH is configured to oracle dir:
ceamono:/srv/www/mono # echo $ORACLE_HOME

The lib libclntsh.so is in:
/usr/lib/libclntsh.so -> /opt/oracle/product/10.2/db_1/lib/libclntsh.so
-> /opt/oracle/product/10.2/db_1/lib/libclntsh.so

Anyone can help ?

Sorry for my bad English :D

Thiago Sampaio
C&A Modas
11 - 2134-9176
Thiago Henrique Sampaio Silva <thiago.sampaio at cea.com.br>

Esta mensagem é confidencial e pode estar amparada por normas legais. Se você recebeu esta mensagem por engano, por favor nos avise respondendo ao e-mail e posteriormente o apague de seu sistema; você não deve copiar ou divulgar o conteúdo desta mensagem. Todas as mensagens enviadas a esta empresa, ou dela recebidas, podem ser monitoradas para assegurar a concordância com políticas internas e proteger nosso negócio.

Antes de imprimir pense em seu compromisso com o Meio Ambiente.

This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. All messages sent to and from this company may be monitored to ensure compliance with internal policies and to protect our business.

Before printing, think about the Environment.

More information about the Mono-devel-list mailing list