Connect without a TNSNames File entry
Connect without a TNSNames File entry
Can I connect to a database without using a tnsnames file entry use the OraDirect components?
Try using the folowing information instead of the server name in your connection string:
Code: Select all
"Server=(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = *Your_Host*)(PORT = *Your_Port*)))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = *Your_Sid*))"