简体   繁体   中英

Report showing NO DATA when uploaded to crm online

When building a report in SSRS and viewing it in PREVIEW mode, my report is showing lots of data; however, when deploying it to CRM online 2013, this is what I am getting:

在此处输入图片说明

  1. This is CRM DYNAMICS ONLINE 2013
  2. The data source is FetchXML and does not change
  3. I've removed all filters from the report and it still displays nothing.
  4. I'm using windows authentication

My FetchXML data source is configured this way:

在此处输入图片说明

Why is my report being generated fine in preview mode, yet when I upload it to CRM 2013 online, it displays no data?

We discovered that the report wasn't querying the correct organization.

The user was admin of 4 different online orgs, and while connecting, instead of specify the unique org name we left the parameter empty, that made the report point to the default prod org.

Everything looked like was working correctly and the visual studio was showing data.

The report was then deployed on the dev org, that didn't contain any data used by the report.

To fix the problem and make the report worked as intended is necessary to add in the connection string the correct org unique name.

在此处输入图片说明

Here is your credible and/or official sources :

Connection String: Specify the connection string. The connection string must be specified in the following format:

ServerURL;OrganizationName;HomeRealmURL

In this connection string, only ServerURL is mandatory. If OrganizationName is not specified, the first organization that the user running this query belongs to is used. If HomeRealmURL is not specified, the value is retrieved from the registry value "HKLM\\SOFTWARE\\Microsoft\\MSCRMBidsExtensions\\HomeRealmUrl".

Click Credentials to specify the credentials to connect to Microsoft Dynamics CRM or Microsoft Dynamics CRM Online, and click Next.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM