Forum Discussion
Michael_St_Pete
15 years agoContributor
Our ODBC specialist worked with the code and found a workaround. We do not know why this works, but it does. According to the documentation the code is similar and should work the same. The line:
was changed to:
aCon["ConnectionString"] = "Provider=MSDASQL.1;Persist Security Info=False; Data Source=Automation; Database=" + SQL_MainDatabase;
was changed to:
aCon["ConnectionString"] = "Provider=sqloledb;Integrated Security=SSPI; Server=(local)\\P3Plus; Database=" + SQL_MainDatabase;
Why would Test Complete complain about the first line, but be okay with the second line?
Mike
Related Content
- 5 years ago
Recent Discussions
- 12 hours ago