i have a program connecting to oracle server using VC++. i got this 2 error
Driver's SQLSetConnectAttr failed State:IM006,Native:0,Origin:[Microsoft][ODBC Driver Manager] ORA-12154: TNS:could not resolve service name State:08004,Native:12154,Origin:[Oracle][ODBC][Ora]
But using a simple program that i created using VC++ also, i can connect to the oracle.. i also tnsping.. so whats the problem?.. Can anyone help me to solve this problem?
Thanx! |
Can it be that the variable holding the connect identified is too small and that the value is truncated?
|
what do u mean by variable holding the connect identified is too small? and why the value is truncated?
can't u explain more about this.. this problem still occurred... i don't know what to do to solve this problem... |
We are using ORACLE 9i database for primavera software. it is a project management software. to upgrade this software from primavera 5 to primavera 5 service pack 3 we also require to change the database schema or upgrade the database. while upgrading database i got the error mentioned in the title. I checked out tnsname.ora file but it didnot work. plz give me any solution to solve this problem.
|
| I installed a oracle client in my system. after installation when i tried to login it is throwing error as 'TNS:could not resolve service name'. I have checked the tnsname.ora there is no clue. how to proceed very urgent. Whether any installation path or anything to be changed. |
dir sear ihave problem 1setuped orcale10g and devolper6i in my device but the database not connection my form please ihope to your slove my problem my form gived (( can not reslove server tns)) thank |
| We are using ORACLE 9i database, I already used oracle forms and reports, but now the database is not connecting. It shows the same error that"ORA-12154:TNS could not resolve the service name". I have tried various methods mentioned in verious sites, but no use. |
Forms, especially < iDeveloper Suite 9 has a different Oracle home.
You have to make sure the tnsnames entry is know to this Oracle home.
Search for all the tnsnames.ora in your Operating system and check if the service name is available to all the tnsnames.ora
|
err
ORA-12154: TNS:could not resolve service name
and
ORA-06413 with manager console
but sqlplus is ok on the connection with my db
|
| : -> 02-APR-2008 15:22:17 | Not certified | DbMotive | Reply |
Oracle 9 is not certified to run on Windows Vista 64bit.
There are a number of problems reported, like a different path for the "Programs Files" subdirectory.
What you can do is to enable client side sqlnet tracing in order to determine the error code returned by the SQLNET network stack.
Have a look at your sqlnet.ora to enable sqlnet client tracing
|
I get this msg when ever i try to login from command promt using sqlplus also tried
sqlplus scott/tiger@orcl (my service name).However it is connecting fine from sqldevelper using both basic & tnsname login.It is successfully connecting from oracle 9i net configuration assistant
and net manager.
This is my tnsnames.ora entry:
DB.SKYTECHSOLUTIONS.INTRA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.100)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
) |
| : -> 30-APR-2008 08:53:44 | How do you connect | DbMotive | Reply |
Do you connect using DB.SKYTECHSOLUTIONS.INTRA, or just using DB?
If the latter, what is the value of SQLNET.DEFAULT_DOMAIN in your sqlnet.ora file?
|
Dear Sir,
I have installed the Oracle 9i Enterprise Edition in windows 2003 server PC(192.168.0.1)and its working. Then I have installed Developer 2000 in another client machine(192.168.0.3). NOw I want to connect databse from the client. For this I have changed the tnsnames.ora file in client as follows.
file.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.0.1)
(Port = 1521)
)
)
(CONNECT_DATA = (SID = ORCL)
)
and saved . However I am unable to connect with database. I need help to solve this problem Desperately waiting for solution. |
| : -> 22-MAY-2008 08:25:23 | Different Oracle Home | DbMotive | Reply |
Since you installed developer, your default home will be the home developer is installed in.
You are probably changing the tnsnames.ora in the Oracle home of your database software.
Either change the tnsnames.ora in your developer home, or change the default home using our free tool "Oracle Locator Express"
|
hi, i get this error when i tried to do a connection in SSIS package, i need connect to a oracle database that is located in another server, i install the oracle client 10g and the configure that and i dont have problem to add the service name, but, when i want to create a connection in SSIS i get this error, i have installed the version of 32 and 64 bits of the oracle client by recomendations of few of people, but , i dont have positive results. basically, i need to get data from oracle database(server 1) and put into a sql server database(server 2).
thx and regards.
luis salgado
mexico |
hi, i get this error when i tried to do a connection in SSIS package, i need connect to a oracle database that is located in another server, i install the oracle client 10g and the configure that and i dont have problem to add the service name, but, when i want to create a connection in SSIS i get this error, i have installed the version of 32 and 64 bits of the oracle client by recomendations of few of people, but , i dont have positive results. basically, i need to get data from oracle database(server 1) and put into a sql server database(server 2).
thx and regards.
luis salgado
mexico |
I have to connect to the database SPPRVP2.eadv.na.jnj.com using TOAD.But while connecting I am receiving the error saying TNS could not resolve the service.I don't have the TNS file for the databse mentioned here.Can you provide the database for the same.
Please help me for resolving this issue.... |
| : -> 19-JUN-2008 08:33:29 | Cannot provide | DbMotive | Reply |
We cannot provide tnsnames info for companies.
You have to contact your local helpdesk or Oracle team in order to obtain this information
|
| i am trying to login in isqlplus but when ever i tried to log in iam getting a error msg stating TNS:COULD NOT RESOLVER SERVICE NAME.i tried using scott,tiger,orcl. plz help me to solve this problem |