Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

using textio class to debug ssrs report

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am trying to debug my RDP based SSRS report and I am using textIo to write a log in my Data Provider class ProcessReport method. I have tried to have the textio class write to my local machine usine the machine name, but I am unable to do it. 

So if I just use the textIo to write to the default location,  I imagine it will write to some forlder of the Report server, am I right? If that is the case how can I find the report server name so I can check the log?

Thanks  for the help.

*This post is locked for comments

  • Hariharans87 Profile Picture
    Hariharans87 on at
    RE: using textio class to debug ssrs report

    The file won't store on the report server.

    If you try to save the file through x++ code, it will save in the AOS server. For example, if you try to save the file to d:\test.txt. You can find this file in the AX AOS server d:\test.txt file path.

    If the user don't have the permission to access the server system to get the file, you can store that file in the shared folder.

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,466 Most Valuable Professional on at
    RE: using textio class to debug ssrs report

    Wouldn't a debugger be a more appropriate tool for debugging? Here is the page in documentation explaining how to use it to debug various things, including reports.

    By the way RDP classes run on AOS.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans