Click here to Skip to main content
16,008,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have used folowing queries to transfer data from server[74.56.432.561] to local system Sql[sw5]and also executed in sw5 SQL.

SQL
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver
@server = 'xxx.xxx.xxx.xxx', @srvproduct='SQLOLEDB',
@provider='SQLOLEDB', --@datasrc=N'74.13.0.452\InstanceName'
@catalog='CineVistaDB'
GO
EXEC master.dbo.sp_addlinkedsrvlogin
@rmtsrvname = 'xxx.xxx.xxx.xxx', @locallogin = NULL , @useself = 'False',
 @rmtuser = 'universal', @rmtpassword = 'xxxxxxxxx'
GO




while running application with this query i'm getting an error that
Login Failed For universal

Please reply with an example
Posted
Updated 13-Nov-11 22:53pm
v2
Comments
[no name] 14-Nov-11 4:54am    
Do you really think it is wise to include the IP address, database name and and password in an open message on the internet?
[no name] 14-Nov-11 4:55am    
There is no example that can be given. The credentials you are trying use are obviously incorrect or the server can't be connected to

1 solution

Why do you think a login would fail?

1) Because the username is wrong.
2) Because the password is wrong.

Over to you...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900