I have client users on one domain and an SQL Server on another domain.
The clients want to connect to the SQL server with Crystal reports.
I usually set up a .dsn file for the client computers to use as the connection in a common network location.
Clients can connect to the SQL Server via an SQL Server account using the following dsn:-
Client computers cannot however connect via windows authentication when specifying a username and password:-
Crystal reports asks for a username and password when using the second connection ( which is what I want ) but
when I enter MyRemoteDomain\MyRemoteWindowsUser and password I get :-
'SQLState 28000' and 'SQL Server Error 18456'.
There are lots of posts out there on this but none are very clear or specific to my case.
So...
I can connect via an SQL authentication connection across the domains.
I can log on to the remote server and sql server using RDP with MyRemoteDomain\MyRemoteWindowsUser.
I cannot connect to the remote server and sql server using windows authentication with MyRemoteDomain\MyRemoteWindowsUser.
Anybody have any ideas?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.
The clients want to connect to the SQL server with Crystal reports.
I usually set up a .dsn file for the client computers to use as the connection in a common network location.
Clients can connect to the SQL Server via an SQL Server account using the following dsn:-
Code:
[ODBC]
DRIVER=SQL Server Native Client 10.0
UID=mysqlaccount
DATABASE=MySQLServer
WSID=W7NTG1619
APP=Microsoft® Windows® Operating System
SERVER=xx.xx.xx.xx\MYINSTANCE
Description=SQLServer Test 2
Client computers cannot however connect via windows authentication when specifying a username and password:-
Code:
[ODBC]
DRIVER=SQL Server Native Client 10.0
DATABASE=MySQLServer
WSID=W7NTG1619
APP=Microsoft® Windows® Operating System
Trusted_Connection=Yes
SERVER=xx.xx.xx.xx\MYINSTANCE
Description=remotesql Test
Crystal reports asks for a username and password when using the second connection ( which is what I want ) but
when I enter MyRemoteDomain\MyRemoteWindowsUser and password I get :-
'SQLState 28000' and 'SQL Server Error 18456'.
There are lots of posts out there on this but none are very clear or specific to my case.
So...
I can connect via an SQL authentication connection across the domains.
I can log on to the remote server and sql server using RDP with MyRemoteDomain\MyRemoteWindowsUser.
I cannot connect to the remote server and sql server using windows authentication with MyRemoteDomain\MyRemoteWindowsUser.
Anybody have any ideas?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.