I am currently logged on to a userβs computer in Active Directory A, and I need to access the database in MSSQL 2000 located in domain B through VB6. The user has accounts in both Active Directory servers. Active Directory domains are unrelated or unrelated.
I am currently using the following MSSQL connection string:
gcnnBD.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=" & gsDataBase & ";Data Source=" & gsServidor & ";Connect Timeout=" & gsTimeOutconnection string.
Can I connect to domain B through the connection string if I am registered in domain A?
What will be the connection string?
Any suggestions are welcome.
source
share