Friday, January 11, 2013 8:33 PMDeveloped a report that queries Dynamics AX SQL data and runs successfully from SSRS report manager, but if I import into CRM it will not run and gives an rsProcessingAborted error. On the AX SQL server the event viewer gives an error that SQL cannot allow anonymous access. It seems as though when the report gets imported into CRM the data source gets changed somehow. Any suggestions?
Friday, January 11, 2013 11:09 PM
You are right. As the report gets uploaded to CRM all database connection strings gets changes so that they point towards the specific CRM organization database. You then get an error because you reference tables or views that do not exist in the CRM database. I had the same problem some time back and the only work-around I was able to use was to create a button on the CRM form that calls the report on the report server. You can add parameters to the url.
It's probably not what you hoped for I'm not aware of any other alternative.
- Edited by Christian Dollerup Friday, January 11, 2013 11:10 PM
Saturday, January 12, 2013 8:45 AMCould you just include the report on a dashboard instead? or on a form if it needs some CRM context to be passed as parameters? (either in an iFrame or possibly using the Report component web resource)
Hope this helps.
Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
Blog: Getting IT Right
Tuesday, January 15, 2013 1:11 AM
I was able to get this to work by doing the following:
- Open Internet Explorer and go to http://ssrs-server/reports
- Navigate into the CRM organization folder where the custon report resides, i.e. Organization_MSCRM
- Click the Details View button on the upper right navigation bar
- Navigate into Custom Reports folder
- Select the newly imported report and select Manage from the drop down menu on the report
- Choose Data Sources and setup the data source to select the external data needed.
- Marked As Answer by William Mann Tuesday, January 15, 2013 1:11 AM