我已经在我的机器上安装了oracle 11g express版本并使用Run SQL COMMAND LINE成功添加了用户和授予访问权限,但我无法使用SQL DEVELOPER配置它,我遇到了上述错误。我已经将我的配置(tnsnames.ora和listener.ora)与其他工作机器进行了比较,并找到了相同的配置。
此外,我可以再访问此网站http://127.0.0.1:8080/apex/f?p=4950:1:384148910814731
tnsname.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = win)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = win)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
答案 0 :(得分:0)
感谢回复,非常感谢,但幸运的是我解决了它,我删除了C:\ Windows \ System32 \ drivers \等的IP和PC名称。