Creating a linked server with an alias

Create SQL linked server = OK

Create SQL linked server with alias = NO WAY

I already tried this:

There are no problems to add SQL linked server to the specific host running it. But what if you need to give it an alias, rather than use hostname as linked server name?
Here is how to do it:
1) Step 1:
 In SQL Server Management Studio open Linked Servers and then 'New Linked Server'.
 Inside of appeared wizard  Select the General tab.
 Specify alias name in "Linked server" field.
 Select SQL Native Client as provider.
 Add sql_server in "Product Name" field (that's the magic).
 In "Data Source"  specify name of the host to be used as linked server.
2) Step 2:
 In Security tab  specify proper security options (e.g. security context)
3) Step 3:
 In Server Options tab  put "Data Access", RPC, "Rpc Out" and "Use Remote Collaboration" to be true.
4) Step 4:
 Enjoy.

2) I also tried putting an entry in the host file

3) I also tried the "user id" paramater in the provider string but I keep getting the error "provider string incorrect"  I did not set up a provider, I want to use the native one.

I get errors ranging from login ID will not map to NT ANONYMOUS not recognized......

help?

September 4th, 2015 4:04pm

Refer this

https://support.microsoft.com/en-us/kb/280106

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 10:52pm

Refer this

https://support.microsoft.com/en-us/kb/

September 5th, 2015 8:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics