0

I'm having an issue getting the linked server to connect between a desktop and my laptop. Both have SQL server 2008 and the link is coming from the desktop to my laptop. Also, both computers have Windows 7. I don't have any issues creating the linked server from my laptop to the desktop. The error I'm getting is "Login failed for user '[UserName]'. (Microsoft SQL Server, Error: 18456)." I let the user name out for security reasons. The user is an sa on both SQL servers and an admin on both computers. Does anyone have an idea what could be stopping me from creating the linked server from the desktop to my laptop?

Nick O
  • 195
  • 1
  • 6

2 Answers2

0

Sounds like what ever account you've specified in the linked server on the desktop doesn't exist, or is typed incorrectly compared to what is in the laptop's SQL Server.

mrdenny
  • 27,174
  • 4
  • 41
  • 69
0

I figured out what the issue was. The instance of SQL Server 2008 on my laptop had the "Server authentication" set to "Windows Authentication mode" instead of "SQL Server and Windows Authentication mode." Once I switch my laptop to "SQL Server and Windows Authentication mode" the linked server worked just fine.

Nick O
  • 195
  • 1
  • 6