In dbcon:
Data Source=.\sqlexpress;Initial Catalog=fdbr;User ID=sa;Pwd=pass123;MultipleActiveResultSets=true; Integrated Security=false;
Error is thrown on this line of code:
objLib.SetReportConnection(objcr);
connection string probably like this if you use local server
Data Source=(localdb)\v11.0;Initial Catalog=fdbr;user id=sa;password=pass123;MultipleActiveResultSets=true; Integrated Security=true;
this link may help you https://www.connectionstrings.com/sql-server/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.