问题
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:
- This is CRM DYNAMICS ONLINE 2013
- The data source is FetchXML and does not change
- I've removed all filters from the report and it still displays nothing.
- 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