When a workspace is opened in PB, as long as Agent SVN does not run (In the System Options I've deselected 'reopen workspace on start up'). I can connect to the DB. If Agent SVN runs I can no longer connect to the DB via the DB painter - I get 'Unable to initialize client library context'. So I have to connect to the DB first, then open the workspace which initializes Agent SVN - then I can work.
I could live with it, but if I try and run any app from PB (like a debug session) I'm unable to login to the DB from the running app. Even if PB is connected prior to running the app.
If I setup the database profiles using the SYC drivers, and I make sure and connect to the DB before I open an AgentSVN workspace - then PB will connect and I can also run apps from it.
Any help to figure out what is conflicting will be greatly appreciated... Thanks in advance.
Could you try this fix: http://www.zeusedit.com/agent/bin/agent-fix.zip
That version delays the change of those environment variables in the hope that it will now be after the PB database initialisation.
But as a fall-back position a option has also been added to the Agent SVN configuration utility that allows you to turn off these language environment changes.
So if the delayed change option fails this second option should definitely work.
Let me know how you get on.
Another option is to find the PowerBuilder locales.dat file and in this section:
Code: Select all
[NT] locale = enu, us_english, iso_1 locale = fra, french, iso_1 locale = deu, german, iso_1 .....
Code: Select all
[NT] locale = En_US, us_english, iso_1 locale = en_US, us_english, iso_1 locale = enu, us_english, iso_1 locale = fra, french, iso_1 locale = deu, german, iso_1 .....