Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

embed a non-CRM SSRS Report into a CRM Form

Posted on by 550

We have an accounting software that is using sql server 2000 . I want to have some reports from accounting software inside crm.

for example, I want a report that shows me financial transactions of a specific customer called from account entity inside crm from accounting server.

I created a report that pre-filters account entity and passes customer code as parameter to a sub-report that its data source is accounting software database (on another server connected through OLE DB).

In Visual studio , Sub-report works fine. It connects without any problem with pre-defined user/pass provided in connection string.

But when I upload it in crm, Error : The report cannot be displayed. (rsInvalidDataSourceReference)

Anyway out?

  • Abhishek Dhoriya Profile Picture
    Abhishek Dhoriya 1,011 on at
    RE: embed a non-CRM SSRS Report into a CRM Form

    In this Step 1 is wrong, You need to host SSRS report on other Server not in CRM , also if you want to follow this approach then what you need to do is to have an Different SQL Data Source which will connect to other Database in same Server.

    Issue: From MSCRM Report Server you will not be able to connect to your Custom Report DB which is your SQL Server 2000.

    pastedimage1583987020155v1.png

    You can take either of below 2 approaches to overcome , what ever works for you

    Approach 1: connect to your report server which is sql server 2000 from MSCRM Sever and set as DataSource.

    Then Change the DataSource for that report  on MSCRM Report Server.

    If you are able to do this then your report will work like Embeded CRM report .

    pastedimage1583987104432v2.png

    Approach 2: Host your Report on Custom Report Server , not in MSCRM Report Server. Take that Report URL and pass that URL in IFRAME Source where ever you want to display that report in CRM.

    pastedimage1583987320425v3.png

    Hope it is clear now.

  • Suggested answer
    nima19864 Profile Picture
    nima19864 550 on at
    RE: embed a non-CRM SSRS Report into a CRM Form

    I did it!

    1- upload report rdl to crm like any report. when you run it , error shows up.

    2- In http://<my crm address>/reports/report/CRM_MSCRM/CustomReports/ find your report (by choosing to view as list from upper bar saved name in crm can be seen in description column)

    3- Right click and select "manage"

    4- Choose Data sources from left menu

    5- change credentials to "Using the following credentials" and type in your data source credentials.

    6- done! it will run from inside crm like an embedded report!

    Caution : everyone that have access to crm will be able to see report content! if it contains any information you want to restrict access, make report individual then share it with those you want!

  • Abhishek Dhoriya Profile Picture
    Abhishek Dhoriya 1,011 on at
    RE: embed a non-CRM SSRS Report into a CRM Form

    you cannot connect to different datasource from CRM Report Server.

    However, you can Upload or host your custom SSRS report on different server and Get the report URL and you can embed that report using the IFRAME withing record form by passing ReportURL as Source URL in that IFRAME.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans