FarzanaSaleem
Programmer
I have made a System DSN with the following details:
Name: ABCDSN
Server: F123 (SQL-Server)
SQL Server Authentication Selected
Connect to SQL Server to obtain default settings (checked)
Login ID: abc
Password: abc
I have chosen SQL Server as a driver, when it is asked at the beginning of creating new data source.
In a VB form (VB 6.0), I dragged an ADO data control. I selected ABCDSN in Use ODBC Data Source Name Combo box. In the RecordSource tab, when I selected adcmdTable in Command Type combo box, following error message was shown:
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domainname\username'
Domain Name and User Name, displayed in the error message, were those with which I logged in to the Local Area Network and not abc.
Name: ABCDSN
Server: F123 (SQL-Server)
SQL Server Authentication Selected
Connect to SQL Server to obtain default settings (checked)
Login ID: abc
Password: abc
I have chosen SQL Server as a driver, when it is asked at the beginning of creating new data source.
In a VB form (VB 6.0), I dragged an ADO data control. I selected ABCDSN in Use ODBC Data Source Name Combo box. In the RecordSource tab, when I selected adcmdTable in Command Type combo box, following error message was shown:
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'domainname\username'
Domain Name and User Name, displayed in the error message, were those with which I logged in to the Local Area Network and not abc.