Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

getting issue while put debugging on RDP class

Posted on by 5,901

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.

  • 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
    Martin Dráb 230,235 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
    @rp@n 5,901 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
    Martin Dráb 230,235 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans