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,
You said I must rewrite this but could you suggest me which object or approach should I use to resolve the problem?
Thanks
There are so many ways to rewrite what you are trying to do, and must carefully consider many factors to make proper suggestion. You might want to contact one of our consulting partners for help with rewriting it: https://www.appeon.com/consultants/consulting-partners