简体   繁体   中英

SQL Linked Server Login Error

I am trying to create a Linked Server to another SQL server by using a windows user login that has been granted 'dbreader' permissions on the target server for specific database but I am getting the error message 'Login Failed'.

I can login onto the source SQL server using the windows user login and with SQL SMS I can access to target server and view tables and data without any issues.

Any ideas greatly appreciated

The problem is not with the Windows login, but with the Servers. The error actually means that Server A doesn't have the permission to login to Server B.

The same issue has been discussed here : https://dba.stackexchange.com/questions/43350/why-am-i-getting-a-login-failed-when-creating-this-linked-server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM