The SQL Server on the remote desktop is configured to have neither login nor password, it is configured to use Windows Authentication.
Code
I am using the following code to connect:
library(DBI)
library(RODBC)
dbhandle <- odbcDriverConnect('driver=SQl Server;server=FAC-270938-ENG2;Database=HRMS')
Error Generated
Warning messages:
1:
In odbcDriverConnect("driver=SQl Server;server=FAC-270938-ENG2;Database=HRMS") :
[RODBC] ERROR: state 28000, code 18456,
message [Microsoft][ODBC SQL Server Driver][SQL Server]
Login failed for user 'HMINDIA\274074'
2:
In odbcDriverConnect("driver=SQl Server;server=FAC-270938-ENG2;Database=HRMS")
ODBC connection failed