First you have to patch/update the installation files, so copy the file microsoft.dynamics.setup.reportingservices.dll from the latest service pack / hotfix.
You can find it in the folder supportaxsetupresources and it has to be copied into these two folders.
MsiComponents32Program FilesMicrosoft Dynamics AX50Setup
MsiComponents64Program FilesMicrosoft Dynamics AX50Setup
And you have to get the Sharepoint services installation file, ( link )
Then install SQL Analysing Services, and Reporting Services.
Install the .Net SDK from here, ( link )
Link to Blogpost with report error ( link )