Absent Member.
Absent Member.

LRDE2009 error with SQL protocol with LR 11

Below is the code, that has been geneerated by LR 11:
lrd_init(&InitInfo, DBTypeVersion);
lrd_open_connection(&Con1, LRD_DBTYPE_DBLIB, "stoccauser", lr_decrypt("4cf79a1df499a15e84bb51d4"), "server\\product", lr_decrypt(
"4cf79a1de"), 0, 0, 0);
lrd_db_option(Con1, OT_DBLIB_SETLHOST, 0, 0);
lrd_db_option(Con1, OT_DBLIB_SETDBVER60, 0, 0);

while executing the above, below is the error we are getting:

vuser_init.c(17): lrd_open_cursor: ERROR, return-code=LRDE2009

we are able to manually connect to the SQL db without any error
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.