问题
I have a set of 16 charts I need to display for each group in my dataset. I have it working perfectly in the design environment. The charts are in a list control with grouping on one field. Each unique group should result in a set of 16 charts.
The problem only exists after I deploy it. The charts repeat across the screen, even covering the SSRS controls in the browser so I cannot click print, export, etc. (See screenshot)
Some things I've tried:
1. Using compatibility mode makes no difference.
2. Using Chrome browser makes no difference.
3. I removed all charts except one and it worked without the duplication. As soon as I add a second chart, the duplication returns.
4. I have tried putting the charts in a table control instead of a list control but got the same result.
5. I have tried putting the charts in a matrix control instead of a list control but got the same result.
6. I added the charts report as a subreport so that the beginning of the charts portion would begin after page 1. Although page 1 of the report didn't result in coverage of the SSRS controls in the browser, when I get to the first page of the subreport in IE, they still display as in the screenshots.
7. I deployed the report to a local SSRS version 14 server (dev environment only) and this is not a problem at all. The charts look great. The production server is not this SSRS version though (production server details below).
8. I got rid of all objects in the report body that have grouping properties, so no more tablix at all. I had only chart objects and used filters on each one to show the data I needed per chart. Result was the same.
9. I connected to the production server, opened SQL Data Tools (version 2010) and created a brand new project and report. I put only two charts in it. Deployed the report and got the same chart duplication problem.
Development Environment:
- Designing in Visual Studio, SQL Data Tools version 14. The Target Server Version in the Project properties is set to "SQL Server 2008 R2, 2012 or 2014";
- In Visual Studio, under Tools, Options, Business Intelligence Designers, the Default Deployment Server Version is set to 11.0;
Server (AWS-hosted):
- Windows Server 2012 Standard;
- SQL Server 2012 Standard;
- SSRS version 11.0.5058.0, running in Native mode;
- Internet Explorer version on the server (where I took the screenshot) is 10.0.9200.22104;
- I have also tried Microsoft Edge with emulation document type set to 'Edge (default)' from my Windows 10 PC. Charts still repeat as in screenshot;
- I have also tried Google Chrome from my Windows 10 PC. Charts still repeat as in screenshot;
Screenshots:
[Report Manager - Charts repeat and cover controls]
[Visual Studio/SQL Data Tools - Preview shows perfect charts]
Any ideas how to fix this?? I'm at a loss and really need to get this working. Displaying more than one chart in an SSRS 2012 report should not be so difficult...
[Edited to:]
- Add project file as requested by @sasfrog.
- Add a script to create table and populate with cleansed data.
- [Get both zip files][1]
- Add [Screenshots][2] of this project file's deployed reports on the server.
The screenshot shows that when there is just 1 chart object (and nothing else), there is no duplication.
But when I add just one more chart object, the charts duplicate across the screen. I tested using both IE and Chrome; same result in both browsers.
I appreciate your help with this.
Let me know if there any problems getting the two zip files or seeing the screenshot.
来源:https://stackoverflow.com/questions/43814437/duplication-of-charts-in-published-ssrs-2012-reports