Skip to main content
Answer

My report click run report working fine but when click next show error

  • May 9, 2024
  • 5 replies
  • 207 views

Forum|alt.badge.img

exception has been thrown by the target of an invocation

unable to cast object of type 'System.Byte[][]' to type 'PX.Reports.Web.WebReport'

Best answer by mihai

After a restart of IIS (Internet Information Services) the issue doesn’t appear any more.

5 replies

darylbowman
Captain II
Forum|alt.badge.img+15

How is this report being run? Is this a workflow action, a code action, etc?


Forum|alt.badge.img
  • Author
  • Freshman II
  • May 10, 2024

How is this report being run? Is this a workflow action, a code action, etc?

report design


darylbowman
Captain II
Forum|alt.badge.img+15

You're getting this error in the Report Designer? When previewing?


Forum|alt.badge.img+7
  • Captain II
  • July 1, 2024

@vannakheng66 - did you find a solution to this error. We’re encountering it with a customized purchase order (24R1) and it appears to be related to the Action button “Print Purchase Order” not sending parameter values correctly to the report.


mihai
Freshman II
Forum|alt.badge.img
  • Freshman II
  • Answer
  • May 5, 2025

After a restart of IIS (Internet Information Services) the issue doesn’t appear any more.