Search This Blog

Monday 5 August 2019

An error occurred rendering the report. Accessing the report server URL caused an error. The remote server returned an error: (500) Internal Server Error.


We have to customize the transfer order shipment report in Microsoft Dynamics D365 for Operations and while running the report if we sent the report directly to the printer instead of printing on the screen we were getting the following errors.


" An error occurred rendering the report. Accessing the report server URL caused an error. The remote server returned an error: (500) Internal Server Error."





















In the initial investigation I thought there is some issues on the printer cause the report was working fine when I set the printer destination on screen.

But after some research I found below link where its mentioned to check the SSRS logs.


Below is the link where can see the details of how to investigate the SSRS logs.



On the above link I found the navigation to open the SSRS logs.













I tried to open the latest log file in note pad and try to found the text with keyword "error" and found out below.






The Problem was I have created parameter name "inventTransferId" in my contract class and I set it to hide on report level but the problem was its value was not initialised when I was trying to send the Report Directly to Printer.


When I set the following property of the of the parameter then my report was working fine.




No comments:

Post a Comment