Hello,
I am having a problem connecting to Microsoft Windows 2008 R2 server via Windows Authentication using the following string.
xPROVIDER := "SQLOLEDB"
xDATABASE := "MobileFrame" , ;
xSOURCE := "192.168.1.11"
xUSERID := "DOMAIN\UserName"
xPASSWORD := "Password"
xSQL := 'Provider='+xPROVIDER+';Data Source='+xSOURCE+';Initial Catalog='+xDATABASE+';User Id='+xUSERID+';Password='+xPASSWORD
cSql := "SELECT * FROM capsonic_receive WHERE deleted_by<0"
TRY
oSql:Open( cSql, xSQL )
CATCH oError
MsgInfo( xSQL + cEol + oError:Description, "Failed to Connect to the Database" )
RETURN .F.
END
oError:Description returns DISP_E_UNKNOWNNAME
Can someone assist