pdf export formatting output incorrectly but only on one server

Posted by: bgw on 4 August 2017, 3:21 pm EST

  • Posted 4 August 2017, 3:21 pm EST

    Hi we have active reports 2.0 build ar2StdSP2.5.0.1322.exe libararies installed on our webserver 1 production 1 test both point to the same default printer. On the live site when I print my pdf file it renders it perfectly. When I execute the same code on the development box I get output like you see in the attachement. I've tried uninstalling and reinstalling / reboot but nothing works. This is very frustrating and help would be greatly appreciated
    2011/12/picklistDev.pdf
  • Replied 4 August 2017, 3:21 pm EST

    Hello,

    Is the version of ActiveReports dlls on the development machine the same as that on the production machine and are you running the application from the Visual Basic Development environment on the development machine? If you are running from the Visual Basic IDE, please check the references of the project and make sure that they point to the 2.5.0.1322 version of the dlls and not to some other version that may exist in the same machine.Also try setting report.Printer.DeviceName to an empty string report.Printer.DeviceName="" on or before the reportstart event and check if yields you better results. If these suggestions do not resolve the issue, please attach the RDF of the report for me to check better.

    Regards,
    Prantik

  • Replied 4 August 2017, 3:21 pm EST

    PrantikS dll's are the same on both machines. Printer.devicename="" set in the activeReport_initialize subroutine attached is the rdf file you requested. I complied and ran on the development machine that is giving me the issue
    2011/12/pickList.rdf
  • Replied 4 August 2017, 3:21 pm EST

    Working it was the printer.device setting after all. Thanks consider this closed
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels