Olá,
Estou tentando dar continuidade no curso porém meu Oracle deu esse problema e não estou sabendo resolver.
Vi alguns outros tópicos no Fórum, mas ao aplicar, não obtive sucesso.
O log de erro:
Ocorreu um erro ao executar a operação solicitada:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
(CONNECTION_ID=yU9LYuCFT+a9WVpymZVheg==)
Código de fornecedor 12505
Meu arquivo tnsnames.ora:
# tnsnames.ora Network Configuration File: C:\app\grosa\product\18.0.0\dbhomeXE\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SERVICE_NAME = XE)
(PRESENTATION = RO)
)
)
E o arquivo listener.ora:
# listener.ora Network Configuration File: C:\app\grosa\product\18.0.0\dbhomeXE\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
DEFAULT_SERVICE_LISTENER = XE
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\app\grosa\product\18.0.0\dbhomeXE)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\grosa\product\18.0.0\dbhomeXE\bin\oraclr18.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)