473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ORA-12145: TNS:could not resolve the connect identifier specified

I searched this group with key word ORA-12145, and got 0 hits.

I posted this question yesterday in the oracle group. I thought over
this issue, and I think people here may have come across similar
problems.

I am working on a ASP.NET 2.0 web application for IIS 6.0, the backend
database for my web application is Oracle 10.1.0.2.0.

This database resides on Machine A.
The Web server is running on Machine B.
I am developing the web application on Machine C.
>From within Visual Web Developer 2005 Express on Machine C, I
successfully configured the database connection. So, from the
development machine, the web application works great, and the ListBox
gets populated with data from the Oracle database nicely.

But, if I check out this web application from the production web sever
on Machine B, I get the following error:

<error>
System.Data.OleDb.OleDbException: ORA-12154: TNS:could not resolve the
connect identifier specified.
</error>

And the following is the portion for connectionString in web.config for
this web application:

<connectionStrings>
<add name="MyOracleConnectionString"
connectionString="Provider=MSDAORA.1;Data
Source=MyDataSource;Persist
Security Info=True;Password=MyPassword;User ID=MyUserID"
providerName="System.Data.OleDb" />
</connectionStrings>
>From which, it looks like the database provider is MSDAORA. Both the
development machine and the production web server have msdaora.dll
under Program Files\Common Files\System\.

Other Classic ASP and ASP.net applications on the same web server can
connect to the same database with no problem at all using ODBC. But I
cannot successfully configure this current ASP.NET 2.0 application to
use ODBC.

Anyone can share a little light on this mystery? Thanks.

Nov 23 '06 #1
0 5659

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hari Om | last post by:
Cannot connect as Internal Hello, I am using IBM AIX 5.1L box for Oracle 9.2.0.1. I cannot connect as internal to my DB INstance - wonder why? Here is what is do:...
0
by: KULJEET | last post by:
i install oracle 8i (8.1.6.0.0) ON WIN2K after proper installtion when i connect to oracle through sql it gives message ora-12638 credential retrieval failed after setting in sql net...
0
by: wqhdebian | last post by:
It was said the ORA-02085 error result from the mismatch of database name and database link name ,and setting glabal_names=false can resolve . but I want to try the other solution,let global_names...
1
by: Vijai Kumar | last post by:
Hi, I am using jsp page to connect to oracle database. We are using a Borland Enterprise Server 5.2 application server and a web server running on IIS 6.0. A GUI module is hosted on the web...
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine. ...
0
by: sandeepl | last post by:
Hi i am trying to connect a Ms access database from Oracle 8i. but getting following error. Pls help me in the same.. ERROR at line 1: ORA-28500: connection from ORACLE to a non-Oracle [ODBC...
2
by: Dwie | last post by:
Dear All, I'm a new in Oracle DB. I'm using Windows 2000 as server and Windows XP as client. I installed Oracle Enterprise on server and Oracle 8.1 on clients. I have some client with 2 different...
1
by: jmarr02s | last post by:
Hi, Anyone have an idea what I am doing wrong? I am using MS Access and I am creating a Pass Through Query. I get the following error: ODBC--call failed> ORA-00904; "B"."RECVDATE": invalid...
3
by: lsy | last post by:
I'm writing PRO C program with oracle 8i. My process first connect to the database with using ora_connect(), proceed the task then diconnect with using ora_disconnect(). This would always in a loop,...
0
by: wolfee | last post by:
I'm running 10gR2 RAC in Prod, Test and DEV and after doing a clone to the DEV environment I'm getting a wierd ORA-12514 error for only one node. I can tnsping the node and it comes back fine. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.