Report showing NO DATA when uploaded to crm online

 ̄綄美尐妖づ 提交于 2019-12-08 09:52:16

问题


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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/27931841/report-showing-no-data-when-uploaded-to-crm-online

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!