关于Windows 7 64位下Visual Studio 2010 开发的Asp.net程序连接Oracle 的出现的问题

 之前安装的Oracle 10g  32位的客户端的,一直出现ORA-12154: TNS:could not resolve service name

各种办法都想尽,设置目录权限了,换安装Oracle 10g 64位的,都没折

首先说一下环境,不是以下环境出现ORA-12154这样的错误,不一定适用

① 操作系统Windows 7 64位

② Visual Studio 2008/Visual Studio 2008

③ 运行的程序是Asp.net 的Web Application/Web Site/Web Service

④ 连接的数据库是 Oracle

最后发现安装Oracle 11G 客户端,就好了,一切都是那么的蹊跷!!!!!

 

原文地址:https://www.cnblogs.com/SharkXu/p/ASPNETORA11G.html