- Troy Cowan
- PowerBuilder
- Friday, 17 May 2024 06:00 PM UTC
We're experiencing an issue with a legacy powerbuilder application and could use some advice on how to proceed.
We recently switched build servers where this application is built, and the application behaves differently based on which build server is used.
When built on the old build server, the application works as expected.
When built on the new build server, the application throws an error.
We have troubleshot the problem down to one datawindow that, when the Retrieve method is run on in it, returns a -1. We added code to capture the sqlerrtext and sqldbcode right after the Retrieve, and they are an empty string and 0. We also used a packet sniffer to determine that no Select statement is sent over to the database during this Retrieve.
So we have a datawindow that fails with a -1 without attempting to run a Select statement. This Datawindow and its embedded Select statement has worked as is in the past, and in fact continues to do so when we build the application on the old build server.
So, two questions:
Is there any techniques for trying to determine why the Datawindow is returning a -1?
What should we look for for differences between the two build servers? They both are using
PowerGen® Version 12.5.03 for PowerBuilder® V 2021
PowerBuilder ORCA Version: 21.0.0.1509
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.