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
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156