重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 343|回复: 0
打印 上一主题 下一主题

[参考文档] Ora-28500 with Ms Sqlserver - Not associated with a trusted SQL Server connec...

[复制链接]
跳转到指定楼层
楼主
发表于 2024-8-4 14:08:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
When using TG4MSQL, this error occurs:
SELECT * FROM all_catalog@tg4msql
I get this error:
[1]: (Error): ORA-28500: connection from ORACLE to a non-Oracle system returned
this message: [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server
Driver][SQL Server]Fehler bei der Anmeldung f�r den Benutzer 'USERNAME'.
Ursache: Keiner vertrauten SQL Server-Verbindung zugeordnet. (SQL State: 00000;
SQL Code: 18452) ORA-02063: preceding 2 lines from TG4MSQL

In English:
Unable to connect to server SERVER_NAME:

Server: Msg 18452, Level 16, State 1[Microsoft][ODBC SQL Server Driver][SQL Server]
Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.

原因:
A connection with a SQL SERVER user is not possible

If we test with ODBC Administrator, it's impossible to connect with 'sa' user.
Only Windows logon authentication runs.

处理方法:
To change the authentication mode from Windows NT Authentication Mode (only) to Mixed Mode, use
the following steps:
1. Open the Enterprise Manager.
2. Expand a Server group.
3. Right-click a server name, and then click Properties.
4. Click the Security tab.
5. Under Authentication, click the SQL Server and Windows option button.
6. Restart SQL Server in order for the change to take effect.


MS SQL SERVER is configured to be used only with Windows logon authentication.
Oracle Transparent Gateway for MS SQL Server only supports SQL SERVER authentication with a login
ID and password.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 14:57 , Processed in 0.119723 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表