Saturday, May 21, 2016

Execute SSRS Report by code in Ax 2012

I want to share to Execute SSRS Report by code in Ax 2012. You can use below code to run report manually . You can try this code if you are not able to view your report due to some security issue.

You can use controller class code to debug your report the get the cause.

 //version ax 2012 Code  
 SrsReportRunController SRScontroller;  
 SRScontroller= new SrsReportRunController();