Last time I wrote a blog about linked server creation issue. As I said, these are one of the most common issues. But as soon as such blogs get released, I get a number of requests around them immediately. Here is the blog post which is discussing about the linked server error.
SQL SERVER – FIX – Linked Server Error 7399 Invalid authorization specification
After reading that one of the readers contacted me and told that he is getting below error.
On first look, I thought this was similar to what was published earlier. But things can surely turn out to be different. Since I had recently blogged about it, I thought to investigate this. To understand more, I looked at the error message in detail. It looks like:
TITLE: Microsoft SQL Server Management Studio
——————————
The linked server has been created but failed a connection test. Do you want to keep the linked server?
——————————
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
——————————
Access to the remote server is denied because no login-mapping exists. (Microsoft SQL Server, Error: 7416)
——————————
I played around with the linked server settings on the PC just to realize – I was able to reproduce the error by choosing 1st option in security tab. This was simpler than what I thought.
So, I asked him to use either option 2 or option 3. After using right option, the error message disappeared.
Do you remember seeing any such linked server error? Can you share your experience to what happened here this time? Leave a comment as we can learn from each other.
Reference: Pinal Dave (http://blog.sqlauthority.com)
First appeared on SQL SERVER – FIX – Linked Server Error 7416 – Access to the remote server is denied because no login-mapping exists