Quantcast
Viewing all articles
Browse latest Browse all 5760

Linked Server is not working for me for physically separated machine

I have two separate machine installed with SQL server 2008R2.

Now I want to execute query from Server1 and write to Server2.

I have two physically separated machine installed with the same SQL server 2008 R2 version instance

Server -A

Machine Name: Server1

Machine Local IP Address: 10.5.20.5

Machine Login Username:User1

Machine Login password:Password1

Database Instance Name: Instance1

It is configured for mixed authentication Mode

SQL Login User=SQLUser1

SQL Login Password=SQLUser1

Installed SQL version: SQL Server 2008 R2 ( Version :10.50.1600.1)

Installed operating system: windows server 2008 R2

Server -B

Machine Name: Server2

Machine Local IP Address: 10.5.20.6

Machine Login Username:User2

Machine Login password:Password2

Database Instance Name: Instance2

It is configured for mixed authentication Mode

SQL Login User=SQLUser2

SQL Login Password=SQLUser2

Installed SQL version: SQL Server 2008 R2 ( Version :10.50.1600.1)

Installed operating system: windows server 2008 R2

 

Now the problem is I am not able to create linked server at Server1…

What I did was, At Server2, enabled TCP/IP,TCP Port 1433, add this to firewall for both TCU andUDP and then use management studio at Server1 to create the linked server and follow the procedure,But I am not able to create the linked Server. Actually I am new for Linked server

Can you help me what are the requirements and steps to create the linked server atServer1 to write data to server2 database considering the above scenario?


Viewing all articles
Browse latest Browse all 5760


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>