473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Ole Db.OleDbExcepti on: ORA-12154: TNS:could not resolve the
connect identifier specified.
</error>

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

<connectionStri ngs>
<add name="MyOracleC onnectionString "
connectionStrin g="Provider=MSD AORA.1;Data
Source=MyDataSo urce;Persist
Security Info=True;Passw ord=MyPassword; User ID=MyUserID"
providerName="S ystem.Data.OleD b" />
</connectionStrin gs>
>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 5686

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

Similar topics

2
21251
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: ------------------------------------------------------------------- $export ORACLE_SID=GATES
0
8523
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 sqlnet.authentication_services=(nts) change to sqlnet.authentication_services=(none) after it i succesfully connect to oracle
0
5488
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 still be true.and set db_domain pramater to fix it,my question is: If my computer did not configure for domain,so there is no reall domain name for it,can I fake one domain name to use as the db_domain paramter? And I did it,set db_domain to...
1
6912
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 server. When we use the logon.jsp page to connect we get the following error Error Logging On : java.sql.SQLException: ORA-00600: internal error code, arguments: , , , , , , , Can you please kindly advice what needs to be done.
4
4827
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. I had her send me her tnsnames.ora from her PC. The entry I wanted was as follows (some letters replaced with xxx for security reasons): xxxora2_prod2 = (DESCRIPTION=
0
2015
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 name not found and no default driver specified (SQ ORA-02063: preceding 2 lines from ACCESS1.WORLD
2
43649
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 IP address, 172.16.xx.xx and 192.168.xxx.xx whices I want to connect to the server DB. How can I set the Listener.ora & Tnsnames.ora so all clients could connect to server. Right now I can connect just only one IP and the other IP is offline, but...
1
5702
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 identifier (#904) Here is my code:
3
5105
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, recently after few cycle of connect and disconnect, when the next issue connect statement, it was unable to connect and return me ora-00604 and the process end. Even i restart the process, after few cycle also the same return me ora-00604 during the...
0
3499
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. Oracle Home is shared, so I'm using the same listener.ora file and tnsnames.ora file from both nodes. I can connect using sqlplus @<node1> fine and @<service name> fine but when I try to connect @<node2> I get the ORA-12514. This is odd because I have...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.