ericmend / oracleClientCore-2.0

Unofficial Oracle Client for .Net Core
MIT License
31 stars 6 forks source link

Unable to load DLL 'oci': Não foi possível encontrar o módulo especificado. (Exception from HRESULT: 0x8007007E) #10

Closed alissonsolitto closed 6 years ago

alissonsolitto commented 6 years ago

Estou com esse erro e ainda não consegui resolver, efetuei o download do client Oracle (instantclient_12_2) e descompactei no "C:\", inclui as variáveis de sistema, mas mesmo assim no momento de abrir a conexão recebo este erro.

Estou utilizando o .NET CORE 2 + DAPPER.

ERRO = Unable to load DLL 'oci': Não foi possível encontrar o módulo especificado. (Exception from HRESULT: 0x8007007E)

dubo commented 6 years ago

Can you write : OS version ( 32/64 bit) ? Oracle client software version (32/64 bit) ? Eric has bug in readme: In Windows path must be set as: PATH=%PATH%;"C:\instantclient_12_2" not PATH=$PATH:"C:\instantclient_12_2"

alissonsolitto commented 6 years ago

Consegui resolver o problema incluindo não somente as variáveis de sistema, mas também as variáveis no ambiente de usuário.

SO = Windows 10 (x64) Client Oracle = 12.2 (x64)

dubo commented 6 years ago

this works for me:

This settings you can set too in terminal , or in your debug options - enviroment variables in Visual studio

You can try my sample https://github.com/dubo/oracleClientCore-Sample

alissonsolitto commented 6 years ago

Thank you! Thank you! It was the perfect solution to the problem, including the NLS_LANG configuration.