Is there any solution for the following error:
SQLSTATE[28000] SQLDriverConnect: 18452 [unixODBC][Microsoft][ODBC
Driver 11 for SQL Server][SQL Server]Login failed for user ''. The
user is not associated with a trusted SQL Server connection.
The username and password looks to be correct in the app/config files but still no luck
It is a problem in your SQL Server. Searching in Google I have find some help:
https://support.microsoft.com/es-es/kb/2121736
https://support.microsoft.com/en-us/kb/555332
Related
I am getting problem in connecting to my database in Oracle SQL Developer. Whenever I try to connect to my database, it gives me this error:
An error was encountered performing the requested operation:
IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=CUJgpQYpQbOXdhiXCUyR3Q==)
Vendor code 17002
Actually, I just use Oracle SQL developer to learn about queries running on a database. I have been using this database since a month but suddenly this error appeared now when I try to connect to the database directly or even manually. Please help me. Any help will be highly appreciated. Thanks in advance.
This is the screenshot for further details:
I tried to do it through an SSH tunnel but stuck there also.
I'm looking for some help in figuring out the correct syntax to connect to Oracle from ADF using a proxy user authentication.
The setup is:
An integration runtime has been setup to connect to an on-premise Oracle instance
The connection type is on Oracle Service Name
User name and Password are provided.
When simply using the user name / password combination the connection can be established, and the tables in the (proxy) user schema can be viewed.
However, these are not the correct tables as the setup in the Oracle instance is using connect through / proxy user authentication. Usually, the syntax for login is username[schema-you-want-to-work-with] for this but this does not work in Azure Data Factory for me.
I have tried various syntax attempts in the connection JSON, using additional connection properties but not luck. The error message, when logging in with the proxy user authentication, is always
ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied Activity ID: da224af9-16ad-4674-a4c9-4811be8f726c.
Logging in with SQL Plus or SQL Developer works with the same connection string.
Does anyone have an idea how I can log in with the proxy user and see the normal schema content? I'm thinking it may just be a syntax issue but I'm out of ideas.
Basic successful connection
Unsuccessful connection with connect through
We are trying to setup Liquibase in our environment, which is Oracle 12c running on AIX. Our schema owner is setup as an OS Authenticated account only allowed from the Oracle host server. When running Liquibase on the host server, logged in as the schema owner, we get ORA-01017: invalid username/password; logon denied. Looking on the server, we see the username is blank. It's not trying to authenticate as the OS user. The properties file looks like this:
driver: oracle.jdbc.OracleDriver
classpath: /oracle_software/12.1.0.2/jdbc/lib/ojdbc7.jar
url: jdbc:oracle:thin:#server:1521:dbname
changeLogFile: dbchangelog.xml
We've tried giving a blank username and password, and also passing a "/". All result in the same ORA-01017 error.
Is it possible to use liquibase with OS Authentication in Oracle?
Any help would be greatly appreciated.
Thanks,
Vince
You can not use thin JDBC drivers for this purpose. Only jdbc-oci drivers do support 'connect / as sysdba'.
I recently installed OBIEE 11.1.1.6.0. I imported the repository I had from 11.1.1.5 which was working fine till now.
In the administration tool, I can query my data and update the rows, I can connect with the same credentials as the connection pool without problems in SQLPLUS.
Users have the RESOURCE and CONNECT privileges.
My weblogic user as all the privileges and has been granted read/write to my Subject area.
I have set the environment variables, modified the instancesconfig.xml and tried all the things i could've found on the OTN but BI Answers continues to give me this ERROR
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
[nQSError: 10058] A general error has occurred.
[nQSError: 43113] Message returned from OBIS.
[nQSError: 43119] Query Failed:
[nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied at OCI call OCISessionBegin.
[nQSError: 17014] Could not connect to Oracle database. (HY000)
SQL Issued: SELECT 0 s_0, "SAP_AVIS"."Fait SAP AVIS"."Avis" s_1 FROM "SAP_AVIS" FETCH FIRST 65001 ROWS ONLY
Please help, I am desperate.
I have been able to resolve my OCI ORA-01017 error.
The problem was caused by my connection pools.
I had a connection amed "A" to access tables in a certain schema in my DB and another connection named "B" this time to access tables in another schema but in the same DB.
In Oracle BI Answers (presentation), I was trying to view data whitin the connection B but strangely OBIEE Answers was using the connection A.
In the end I removed/renamed the connection A and everthing worked like nothing never happend.
I am not saying that this is the best method. Maybe i skipped a config that assigns the default connection pool to use but it did the job.
Option 1:
Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory
Option 2:
Instead of using tnsnames.ora entry in the RPD, use the full expanded tnsnames.
I have never faced this issue, so I'm not sure this'll work or not but you can try. Option 2 might just do the trick.
Vijay.
For me oracle client was not installed,
when I Installed the oracle client problem got solved
I have Runtime error that "Not associated with trusted SQL server connectiion" Please help me
This usually happens when you try to connect to a SQL Server db that has been set up with Windows Only Authentication (not Windows and SQL Server Authentication)...That can be changed if you have access to the DB.
See: http://decipherinfosys.wordpress.com/2008/11/14/the-user-is-not-associated-with-a-trusted-sql-server-connection/
Sounds like an authentication error with the SQL server. Check your connection string and your SQL server's authentication settings.
More info here, and of course here.