report-viewer2010

ReportViewer 2010 struggling with polymorphism

此生再无相见时 提交于 2019-12-11 07:35:10
问题 I have a rdlc report that takes as a ReportDataSource a List<BaseClass> . BaseClass has two derived classes A and B . In the report, I group based on a property of the base class. As long as the list only contains objects of A or B , all works fine. However if I mix instances from A and B , then the report creation fails with the following message: The Group expression used in grouping '[Group Name]' references a dataset field which contains an Error: FieldValueException The property returns

ReportViewer rendering a empty PDF (Just one white page)

你。 提交于 2019-12-11 03:34:32
问题 I have a Asp.Net MVC 4 project and I'm using ReportViewer to generate some reports. Because there is low or none compatibility with ReportViewer in MVC, using Chrome and Firefox, my approach was render the ReportViewer in a PDF stream and simple returning the stream like this: // using Microsoft.ReportViewer.WebForms.dll [10.0.0.0]. using (var viewer = new ReportViewer()) using (var bc = new MyBusinessClass()) { viewer.LocalReport.ReportEmbeddedResource = @"MyEmbeddedName"; var dsobj = bc

Error in using report viewer in visual studio 2012 in design mode

我的未来我决定 提交于 2019-12-10 18:45:22
问题 I'm using visual studio 2012 to develop a MVC application. I have added an ascx page to my project to put the report viewer in. When I drag and drop the ReportViewer component from toolbox in the page, It doesn't show the ReportViewer correctly and shows this error on it: Failed to create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.Reporting.WebForms version 10.0.0.0, Culture=natural, PublicKeyToken=b03f5f7f11d50a3a' I have also added Microsoft.ReportViewer.WebForms

Winforms ReportViewer and setting parameters properly for ServerReport

时间秒杀一切 提交于 2019-12-07 09:13:23
问题 I'm setting parameters for a report that I'm showing in ReportViewer control, and the parameters are setting properly and the report is running with the proper parameters, however the actual controls that provide the report criteria at the top of the ReportViewer are not selected. Why aren't the proper items selected in the criteria, even when the report is properly running with the criteria that I set? ReportParameter month = new ReportParameter("month", "September 2011"); SsrsReportInfo

The attempt to connect to the report server failed - Setting URL and Path in ASP.NET?

强颜欢笑 提交于 2019-12-07 07:05:31
问题 I'm trying to connect to a Report (rdlc file) using ASP.NET Web Applications. I'm working with VS2010 and the Report Server is version 2008. I have the following URL to the report which works fine: http://server url/Products/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/Products/Dashboards/Product_tool.rdl&Source=Server Url/Products/Dashboards/Forms/AllItems.aspx&DefaultItemOpen=1 When i enter that URL in my browser it first asks for a username password. When i log in then the

VisualStudio Report Viewer not rendering report body in Chrome

為{幸葍}努か 提交于 2019-12-07 00:06:44
问题 I'm aware that Chrome is not supported - http://msdn.microsoft.com/en-us/library/ms156511.aspx for the Report Viewer. The solution here has not worked for me ReportViewer problem in google chrome unfortunately In our case the report body is blank. I have come across solutions to report height issues and distortion issues in the tool bar but in my case I have yet to get to that stage. When I navigate to the Report Manager in Chrome I can see my reports [They are not perfect but are at least

The attempt to connect to the report server failed - Setting URL and Path in ASP.NET?

隐身守侯 提交于 2019-12-05 17:22:40
I'm trying to connect to a Report (rdlc file) using ASP.NET Web Applications. I'm working with VS2010 and the Report Server is version 2008. I have the following URL to the report which works fine: http://server url/Products/_layouts/ReportServer/RSViewerPage.aspx?rv:RelativeReportUrl=/Products/Dashboards/Product_tool.rdl&Source=Server Url/Products/Dashboards/Forms/AllItems.aspx&DefaultItemOpen=1 When i enter that URL in my browser it first asks for a username password. When i log in then the Report shows up just fine. Now i need to display this report in a Report Viewer . So i added a Report

Report Viewer Web Control Version 10 Gives Error Despite Set Up Correctly

依然范特西╮ 提交于 2019-12-03 06:02:08
Reports are deployed and working, verified in Report Manager. My application is an MVC2 app with my report on its own aspx page. This page worked with version 8 of the report viewer control, but we moved to new servers, upgraded sql server, and are trying to update our website to match. The servers are Windows Server 2008 with IIS 7.5. I am testing in both chrome and IE 9. Despite my best efforts, I still get this error: Report Viewer Configuration Error The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved

set page layout for report viewer in visual studio 2010

偶尔善良 提交于 2019-12-03 05:09:46
问题 I again have a little problem. I have used ReportViewer in my Windows Form Application in visual studio 2010. The width of my report id about 7 inches. When i view the report in print layout, the report is cut across the page,i.e, only half of the content is on the page and rest is out of right margin and page boundary. I then have to click page setup in the report viewer top menu to change page setup, i just reduce left and right margins to 0.25 from 1 each. I don't want to do it every time

Calling SSRS Report Server it asked “Authentication Required” window

本秂侑毒 提交于 2019-12-02 12:47:06
问题 I have just started working in SSRS and I got a very strange problem i.e. When I am calling report server URL i.e. localhost/Reports This URL requires Authentication window for Username and password. like this. If I submitted local system user account information in that case it will appear me report server screen which we want. like this. I have created a demo web-application and in the default.aspx page I am using ReportViewer to show report and configure it. here is the code which i am