Oracle 11G 64位发布出现错误

错误1:Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

答:修改应用池,高级设置。把“启用 32位应用程序改为true”

 

错误2:项目登陆提示  ORA-12154: TNS:could not resolve the connect identifier specified 但是ORACLE 可以成功登陆

答:项目的 连接字符串 连接不到TNS。修改连接字符串的Data Source=“TNS名” 该为

Data Source=(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 服务器IP)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = ORA11G)));

 

你可能感兴趣的:(oracle 11g)