Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

getting issue while put debugging on RDP class

(0) ShareShare
ReportReport
Posted on by 18

Hi All,

Before debugging the RDP class >> i did below points

1. Table type = Regular ( Instead of TempDB )

2. Created by and Created Transaction Id = Yes

3. RDP class - SrsReportDataProviderPreProcess ( instead of  SrsReportDataProviderPreProcessTempDB )

4. add below code -- in method()

salesInvoiceTmp.setConnection(this.parmUserConnection());
salesInvoiceHeaderFooterTmp.setConnection(this.parmUserConnection());

5. putting breakpoint

when run the report got below error --

0045.debug.jpg

how to resolve this issue? anything i am missing ?

please give me more shed on this.

  • Harshal Nayak Profile Picture
    on at
    RE: getting issue while put debugging on RDP class

    Hello ,

    I found a similar stack trace , not sure if this would be helpful but you could check the same.

    community.dynamics.com/.../error-executing-code-wrong-argument-types-in-variable-assignment-when-confirming-po

  • Martin Dráb Profile Picture
    232,866 Most Valuable Professional on at
    RE: getting issue while put breakpoint on RDP class

    If you still have the same problem when not using a breakpoint, then it's not related to breakpoints.

    For example, imagine that you computer is broken and you can't start it at all. But you want to send an email and you start claiming that you have a problem with Outlook. While the problem with your computer prevents you from using Outlook, it's clearly not Outlook's fault.

  • @rp@n Profile Picture
    18 on at
    RE: getting issue while put breakpoint on RDP class

    As you said "By the way, how is it related to putting a breakpoint? "

    because i wants to debug dp class. So, i am facing issue. which i explained already.

  • Martin Dráb Profile Picture
    232,866 Most Valuable Professional on at
    RE: getting issue while put breakpoint on RDP class

    The error comes from SrsReportDataProviderPreProcessTempDB, therefore it's still used. Review your code and recompile the application.

    By the way, how is it related to putting a breakpoint? Or is the thread title wrong?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans