Solved

ORA-012154 CALLING CONNECTION WEB SERVICE .NET

Posted on 2011-09-26
1
728 Views
Last Modified: 2012-06-27
Hi,
i have the following problem on machine with this configuration :
-Windows Server 2008 64BIT
-IIS6
-Oracle Database 10.2.0.1 (32 bit)
-ODP.NET 10.2.0.2.21 (32 bit)

My standard application VB.NET correctly connect to database and work fine.
But when my application call,on the same machine, a configured web service vb.net
i get immediately the error-012154.

The same application and web service work fine on Windows Server 2003 32bit machine.

Thanks in advance
0
Comment
Question by:NUCLEARE
1 Comment
 
LVL 23

Accepted Solution

by:
OP_Zaharin earned 500 total points
ID: 36597557
- check if the database alias name used in the web service vb.net is registered and exits in your tnsnames.ora file on that machine.
- check that the machine tnsnames.ora have database alias referring to the database server
- if the web service use ODBC, check that the ODBC datasource name is pointing to the right database alias that available in the tnsnames.ora file on that machine.

- kindly backup the tnsnames.ora first before made any changes.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question