Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

using textio class to debug ssrs report

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 4,971 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,149 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans