web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SSRS Report generates no rows for second Organisation (CRM 2011)

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm having a weird issue with a report written in SSRS to deploy into CRM 2011

The company has two identical (deployed from same solution) Organizations

In SSRS the preview of both reports works as expected (returning the data from the Organization the data set is aimed at)

I'm using SQL Queries (via the filtered views) rather than XMLFetch

It works perfectly for one organization once the report is deployed into CRM however when its deployed to the other it returns no rows.

I presumed it would be a Data set issue and its looking at something incorrectly via the SQL so ran SQL Profiler, whats weird is that

1. Its reading from the correct database

2. When you replay the SQL query it returns rows (as per the preview) from active records

Any thoughts on anything I can check from the CRM Side (could it be doing additional filtering by default?)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Lozici Cezar Profile Picture
    890 on at

    Hi Grey Area,

       When you say that it does not render any rows does it mean that you can still see the frame of the report but there are no results or does the frame turn completely white?

       I would recommend you have a look(if not done so already) at both the CRM Server and SSRS server logs(Option 1 / Option 2 ) in order to identify and problems/errors which the UI is not catching.

       If that does not offer any insight I would recommend you open a Support Incident with us so that we might have a closer look at your RDL file and perform a couple of tests.

    Thank you for using Microsoft Dynamics CRM Communities

    Cezar Lozici

    Support Engineer

    Microsoft Dynamics CRM

  • Community Member Profile Picture
    on at

    Hi Cezar,

    Thanks for coming back to me, the issue was the frame is there, but it its returning no rows (as if the search criteria for the report has no hits).

    In the end I turned the query into two Stored Procedures aimed at the respective databases and copied the report(changing the data set to the 2 sp's) which worked fine.

    Thanks for the link to tracing on I'll take a look if I get chance

  • Community Member Profile Picture
    on at

    i think , it may be permission issue. and you can  check it from sql side if its store procedure then give execute permission so it can display data in crm .

    organisation\PrivReportingGroup  execute permission.

    also check for database connection in ssrs..nstead of just data source name use  name with full domain e.x  servername.domainname.com.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans