- An Nguyen
- PowerBuilder
- Wednesday, 16 February 2022 09:59 AM UTC
Hello,
We have a web app that has a function to print the report designed by PowerBuilder.
When using PB12.6, we created a .NET assembly project in PB. It receives the arguments from the web app, retrieves data for the requested report, and then save the report in PDF file format. In the web app, we print the report by calling the assembly and then open the PDF file returned by the assembly. It works great.
It works also when we upgrade to PB2017 and PB2019. In the new version of PB, we just deploy the assembly project and then copy the necessary files (*.DLL, *.PBD) to the web app. Of course, we must install the PB .NET runtime component also.
Now we upgrade the PB to PB2021 (build 1506) and do the same treatment but it cannot work. The assembly returns an error when retrieving data. I try to replace the PBD file with the old one (generated by PB2019) and it works again. It does not work with the new PBD file.
Any advice? How can it work with the new version of PB2021?
Thanks,
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.