- Rick Hedin
- PowerBuilder
- Thursday, 19 December 2019 09:11 PM UTC
We have two very similar programs, that are both running on Windows Server 2016. They are PowerBuilder 12.6 programs. Let’s call them A and B.
A runs very well, just like it did on the old Windows Server 2008 R2 system we copied it from. B can’t find its data source.
Plainly, the data source has been defined, since A can find it. B says:
Connect failed.
SQLCode: -1
SQBDBCode: 999
SQLErrText: SQLSTATE = IM002
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
User: (our user name)
SQLReturnData: (blank space)
My colleague tells me that this is a dialog provided by PowerBuilder. (I am not a PowerBuilder programmer. I am a C++ and Javascript programmer.)
My other colleague who set up the machine, tells me that the machine should be presenting the same thing to both programs. But plainly there is some difference.
Which brings me to my question: Is there some simple PowerBuilder application to which I can pass the datasource name, and it will try to connect to the datasource with verbose debugging on full? If there is an object B doesn’t have access to, I would like B to tell what the object is, for example.
Is there such a program? Or has someone encountered this before, and knows what is going on?
Regards, Rick
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.