ora-12560

Oracle Protocol Adapter Error

非 Y 不嫁゛ 提交于 2019-12-24 03:24:38
问题 HI, I've just installed Oracle 10 g Express Edition on to my laptop. The platform is Windows XP SP3. Installation went normally. BUt when I try to get connected to the Oracle database via SqlPlus I get "TNS Protocol adapter error".My laptop is on the network.I'd installed the same database on to a Windows Server 2003 and it works fine. What could the problem be? 回答1: I presume this is ORA-12560: TNS:protocol adapter error . The Oracle documentation describes it as a generic TNS error, but

What is the exact format of a connection string for Oracle?

蹲街弑〆低调 提交于 2019-12-13 08:41:57
问题 I have this code: string conStr = @"server=ORACLE1001;database=Test;uid=admin;pwd=1234"; mycon = new OleDbConnection(); mycon.ConnectionString = ConStr; and it throws exception that provider must be like "Provider=SQLOLEDB;" so I tried with conStr = "Provider=OraOLEDB.Oracle.1;server=ORACLE1001;database=Test;uid=admin;pwd=1234; and it throwed exception "ORA-12560: TNS:protocol adapter error" - anny ideas how to fix this? Any ideas what is wrong with my conStr? 回答1: Please follow the steps and

ORA-12560: TNS:protocol adaptor error

◇◆丶佛笑我妖孽 提交于 2019-12-13 04:36:31
问题 I Google[d] for this error ORA-12560: TNS:protocol adaptor error but not able to find the actual reason and how to solve this error ? Can anyone tell me a perfect solution to solve login problem. 回答1: Go to the windows machine that hosts the Oracle database server Go to Start -> Run -> Services.msc in Windows. Locate OracleService < SID > (here OracleServiceORCL ) and click on Start to start the oracle database service (if not already running) Once it is up and running, from the command

ORA-12560: TNS:protocol adapter error(TNS:协议适配器...

守給你的承諾、 提交于 2019-12-10 06:32:16
这种问题一般是因为客户端不知道要连那个instance或者不知道要使用哪个TNS Alias 可能的原因1.服务没有起来 下边是Tom的一个Test Case来说明OracleServiceSID服务没有起来的话,是会引起ORA-12560错误的。 [plain] view plaincopyprint? C:\Documents and Settings\tkyte>sqlplus scott/tiger SQL*Plus: Release 10.1.0.4.0 - Production on Thu Sep 6 15:43:55 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options scott%ORA10GR1> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning,

ORA-12560: TNS:protocol adaptor error

ぃ、小莉子 提交于 2019-11-26 02:07:59
问题 I Google[d] for this error ORA-12560: TNS:protocol adaptor error but not able to find the actual reason and how to solve this error ? Can anyone tell me a perfect solution to solve login problem. 回答1: Go to the windows machine that hosts the Oracle database server Go to Start -> Run -> Services.msc in Windows. Locate OracleService < SID > (here OracleServiceORCL ) and click on Start to start the oracle database service (if not already running) Once it is up and running, from the command