Skip to main content
Answer

Sales Order Details by Customer: "Exception has been thrown by the target of an invocation"

  • September 3, 2024
  • 4 replies
  • 316 views

When running the Sales Order Details by Customer report, we receive the following error:

Does anyone have any ideas on what the problem may be and how we can fix it? Thank you!

Best answer by Laura03

Hello,

Are there any further errors or details in Tools → Trace?

Is the report customized?  People in the Report Designer Role can see and temporarily disable custom versions of the report in the Report Versions tab of the report screen, for troubleshooting. 

When did the report last work successfully, and what changed since? 

Does every customer’s details and every item throw the same error, or does the error occur only when specific customers or items are selected in Report Parameters tab?

Laura

4 replies

Laura03
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • September 3, 2024

Hello,

Are there any further errors or details in Tools → Trace?

Is the report customized?  People in the Report Designer Role can see and temporarily disable custom versions of the report in the Report Versions tab of the report screen, for troubleshooting. 

When did the report last work successfully, and what changed since? 

Does every customer’s details and every item throw the same error, or does the error occur only when specific customers or items are selected in Report Parameters tab?

Laura


  • Author
  • Freshman I
  • September 10, 2024

We have not made changes to this report The only version available under Report Versions is the original, so I don’t think it is a report error.  Actually, the issue turned into a user-specific error shortly after it first appeared. The search criteria that was not working was simply a date range of 2 years and a customer. The goal was to show every item that the customer had purchased in 2 years. At first when any of our users entered the customer they all got the pop up box. The next morning, however, only one user continued to receive the "Exception has been thrown by the target of an invocation" pop-up, and everyone else was able to see the report.


  • Author
  • Freshman I
  • September 10, 2024

.


Forum|alt.badge.img
  • Jr Varsity III
  • December 30, 2024

I am getting the same error in report after click on next i made changes but not working

 

Exception has been thrown by the target of an invocation.