How to switch DSN in business operations?
I want to switch between different DSNs in business operations to query different servers, but the DO ..Adapter.DSNSet("DSNName") code will report a 15-second connection timeout error when switching DSNs. What should I do?
Product version: IRIS 2020.1
Which adapter are you using?
Have you tried connecting to this second DSN right from the start?
Yes, I tried.
Both DSNs can be used normally, but I have to judge in the program to choose a different DSN