Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Linked server using IP address

Author  Topic 

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-12 : 11:09:19
I need to know if the linked servers have to be in the same domain as I am trying this with a sql server that I connect to using an IP address on a different domain, but it is saying the login is invalid. The remote user and password have been set from within EM by right-clicking on the linked server and selecting properties then the security tab.

It says error; login failed for user 'username';
The username display is that of the remote server which was set in the security section of the properties.

All help appreciated.

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2004-08-12 : 11:55:45
You can. Check the "Be made using this remote context" radio button. Type in the username and password there. Also, is this using the default port? If not, you have a little bit more work to do.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-12 : 12:05:30
Derrick,
I took the option that says,
be made using this security context.
However I am still getting the error "login failed for user 'username'.

All help appreciated.
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2004-08-12 : 12:06:40
Can you ping that IP address from the computer you're setting this linked server up on?

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-12 : 12:07:16
Not sure if I told you that the error comes when I click on the table icon under the linked server tree. Hope this helps.

All help appreciated.
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2004-08-12 : 12:08:06
Can you ping the server?

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-08-12 : 12:08:37
Is there a trust relationship setup between the two domains?

Tara
Go to Top of Page

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-12 : 12:08:43
No I cannot. Very starnage as i can connect through EM to that server. I will check with my network admins.

All help appreciated.
Go to Top of Page

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-12 : 12:48:50
I got it working, the IP was also in the catalog field.

All help appreciated.
Go to Top of Page
   

- Advertisement -