Is there any solution for this error on Windows 7 64 bit (because I think it's the main cause) in .NET application? (ASP.MVC2 with EF4)
I've:
I've also checked and tried:
I'd like to connect with Oracle DB via ASP application (as above) and I still see this error. .NET cannot see alias which is in tnsnames.ora
Error: ORC-12154 and Oracle Provider not compatible with current OS (povider 32 bit, OS 64)
OS: Windows 7 64-bit, .NET 4.0, Visual Studio 2010, Tunel via SSH (putty)
Solution:
Configure TNSNAMES.ORA and SQLNET.ORA
sqlnet.ora variables :
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
SQLNET.AUTHENTICATION_SERVICES = (NTS)
NAMES.DEFAULT_DOMAIN = ORCA
For me atleast works fine.