Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Oracle to sql server configuration issue - SQLNET.AUTHENTICATION_SERVICES = (NTS) or (NONE)

Hi All,
Oracle database version : 12.2.0.1.0
I was connecting the Oracle database to SQL Server using ODBC Connective and HS services and created the datalink also.
I did with the configuration but I am facing one issue.
SQLNET.AUTHENTICATION_SERVICES = (NTS) or SQLNET.AUTHENTICATION_SERVICES = (NONE)
if I configurated NTS and restarted the database it's working fine there is no issue but I can't able connect to the SQL server.
ORA - 28454:error diagnosed by Net8 when connecting to an agent unable to retrieve the text of Network/NCR message 65535
ORA - 02063:Preceding 2 Lines from DBLINKNAME
if I configurated NONE and restarted the database but the error occurred database did not start
How it's working now :(Work Around)
First I configured NTS IN SQLNET file and then restarted the oracle database, Oracle DB connected successfully but I changed the SQLNET file NTS TO NONE then without restarting the DB services try to access the oracle database and SQL server both working fine.
After some time I restarted the oracle database services and the listener not working.
Answers
-
Hi,
SQLNET.AUTHENTICATION_SERVICES = (NTS) is used for database authentication in general. I don't think it should relate to HSODBC.
what is your ordbc and hsodbc.ini content?
what username is the owner of the database and listenr services ?
Regards,
Hadar
-
Thanks for your reply.
As I told you earlier I need to connect to the SQL Server I changed the SQLNET = (NONE) but whenever I restart the oracle DB listener services are not started.
--------------------------------------------------------------------
what are your odbc and hsodbc.ini content?
HS_FDS_CONNECT_INFO = SQLSERVER
#HS_FDS_TRACE_LEVEL = off
#HS_FDS_SUPPORT_STATISTICS = FALSE
File name : initapexpdb (HS--->Admin---->initapexpdb.ora)
ODCB Name = SQLSERVER (configured in ODBC)
---------------------------------------------------------------------------
------------------------------------------------------------------------
what username is the owner of the database and listener services?
Oracle DB Username = apexpdb
TNS Name =
SQL_Connection_new =
(description=(address_list=(address=(protocol = TCP)
(HOST = IPADDRESS/HOSTNAME)(PORT=1521))
(CONNECT_DATA = (SID=apexpdb))
(HS=OK)
)
--------------------------------------------------------------------------------
I hope I answered your question. if anything I missed let me know.
thanks for your support.
-
Hi,
1.5 more questions :)
0.5 In 'what username is the owner of the database and listener services' I meant - in the 'Services' - what is the login user
- Please check the odbc configuration for two things: 1. Make sure it is a SYSTEM DSN; 2. Make sure you selected username and password and NOT windows authentication.
Regards,
Hadar
-
Thanks for your time.
0.5 In 'what username is the owner of the database and listener services' I meant - in the 'Services' - what is the login user
My schema login is AAA_SQL and my database name is APEXDB and I have other database APEXPDB (Pluggable database)
Example: My SQL server username is: att and my Password is att_123
Services details in the listener: SQL_Connection_NEW (I mentioned in the previous thread full connection string).
- Please check the ODBC configuration for two things: 1. Make sure it is a SYSTEM DSN; 2. Make sure you selected username and password and NOT windows authentication. - I checked the system DSN = SQLSERVER, I configured the same thing in HS File also. I mentioned the previous thread. SQL Server, No it's not windows authentication. I am connecting from another machine Like example : my oracle system: 192.1.10.1 and my SQL server 192.1.11.2
Thanks in Advance.