Hi
Can anyone tell me how to connect to a remote instance of SQL Server 2000?
I have created a SQL Server login with a password andused the following connection details..
oConn.Open "Provider=sqloledb;" & _
"Network Library=DBMSSOCN;" & _
"Data Source=xxx.xxx.xxx.xxx,1433;" & _
"Initial Catalog=myDatabaseName;" & _
"User ID=myUsername;" & _
"Password=myPassword"
I am getting an error saying that the login is not trusted.
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user 'myUsername'. Reason: Not associated with a trusted SQL Server connection.
The remote server is available through the internal network and can be pinged OK using the IP address provided.
Can anyone explain what is wrong?
Thanks in advance to any help offered.
Can anyone tell me how to connect to a remote instance of SQL Server 2000?
I have created a SQL Server login with a password andused the following connection details..
oConn.Open "Provider=sqloledb;" & _
"Network Library=DBMSSOCN;" & _
"Data Source=xxx.xxx.xxx.xxx,1433;" & _
"Initial Catalog=myDatabaseName;" & _
"User ID=myUsername;" & _
"Password=myPassword"
I am getting an error saying that the login is not trusted.
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user 'myUsername'. Reason: Not associated with a trusted SQL Server connection.
The remote server is available through the internal network and can be pinged OK using the IP address provided.
Can anyone explain what is wrong?
Thanks in advance to any help offered.