Skip to main content
Solved

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

  • May 9, 2024
  • 8 replies
  • 227 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.

8 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.


Forum|alt.badge.img

Hi ​@mihai ,

To re-start IIS, that needs to be get done by Acumatica in SaaS hosted environment correct?

Thanks,

Dulanjana


mihai
Freshman II
Forum|alt.badge.img
  • Freshman II
  • December 18, 2025

Hi ​@mihai ,

To re-start IIS, that needs to be get done by Acumatica in SaaS hosted environment correct?

Thanks,

Dulanjana

Hi ​@dsenevirathne54 ,

The answer is yes.

I also suggest to try the following version:

Go to `Apply Updates` (ScreenID = SM203510) and click `Restart application`. I suppose that this action will do the restart of iis. If you will do this action on a production environment, be aware that the users will lose unsaved work and the site will be unavailable for a couple of minutes.

Please tell us if it works.

 


Forum|alt.badge.img

Thank you ​@mihai