reportviewer

ASP.NET ReportViewer works in development, is emtpy when deployed

I have a ASP.NET web app that utilizes ReportViewer to show local reports. Everything works beautifully on my development machine (XP Pro, Visual Studio 2008). When I deploy the app to the production server (Windows Server 2008, IIS 7), the site works very well, except for the report viewer. When I generate the report, the report viewer ...

Visual Studio 2010 ReportViewer Assembly References

Hi! I didn't do C# for quite some time, but I'm updating some of my projects now. I imported a project from Visual Studio 2008 into 2010. Building got me some confusing errors into the log: Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.ReportViewer.Common.dll", but it didn't exist. Considered "...

Problem printing from ReportViewer control in ASP.NET web application

I have a web application that utilizes the ReportViewer control in ASP.NET. The reports are defined in the web application, in .rdlc files. The reports work great, except for the printing functionality. When the user clicks the "print" icon in the header section of the report, it appears that the web app tries to install SQL Server (?!)...

ASP.NET session expired error when viewing a report

Hi, I am getting "ASP.NET session has expired" error when viewing a (SQL server reporting services) report using report viewer control. sometimes it works fine and sometimes I get this error, it works fine in Dev, but not in test environment. Please let me know if you have any clues. thanks in advance. here is the code for the report vie...

ReportViewer: Grouping / Repeating Table?

I'm not quite sure how to do this. I went to the resource: http://www.gotreportviewer.com/, but I couldn't find the exact answer. I'm using VS 2010 .NET Framework 4, so I assume I'm also using ReportViewer2008. Oh, and I am using RDLC files. They showed a table example where the data was grouped/sorted and they had Group Header and Grou...

Can Report Viewer 2010 control be used in Visual studio 2008 without problems?

Can Report Viewer 2010 control be used in Visual studio 2008 (ASP.NET apps) without problems? I saw this post about it and wanted to know if this is supported and is OK. ...

How to stop text wrap when exporting a report viewer (SSRS) to Excel ?

When exporting to Excel a report created by report viewer in Visual Studio, the cells which have Cangrow set to false, wrap their long text into several lines. This seems to happen in VS 2005, 2008 & 2010. In Excel the checkbox for textwrap is checked. Is there a way to expand the cells horizontally and have text wrap turned off when ex...

reportviewer chart axis

I am using visual studio 2010 coding with VB. I have reportviewer control with a chart on the report. How do you programmatically change an axis group expression for a chart in an rdlc report. For instance i have the group expression: MonthName(Month(=Fields!receiveddate.Value)) . How can I change this to: Week(=Fields!receiveddate....

WinForms.ReportViewer - number of pages that are rendered

Using WinForms.ReportViewer I'd like to get a hold of the number of pages that are rendered. I need to generate a contents page for a collection of reports and to do this I need to know how many A4 pages are rendered for each report so that I can subsequently generate the contents page. The reports are able to be edited by the end user...

How do I localize ReportViewer labels, column headers, etc.?

I need to localize labels / column header for a ReportViewer report. From what I've read, there are two ways you can do this: 1) Create a RDLC file for each language or 2) Create one RDLC file and parse this at runtime, replacing the label/header values with the strings for the current culture. I'm thinking #2 is gonna be less work...

C#: how to have small box on WinForms ReportViewer report template?

I am using the Winforms ReportViewer in VS2005 to show a report which needs to have two small boxes that can be ticked with a pen when the report is printed. How would I do this? Would I use a font that has symbols such as a small boxes? Will the font that I use need to be installed on each user's machine? ...

ReportViewer in WPF behaving differently on similar machines

I have a reportviewer control in a pop up window inside my WPF application. When the report is to be printed, on some client machines it gives the following message "Some parameters or credentials have not been specified". This error does not come on every client machine even though the machines are identical in every respect. I have t...

WinForms ReportViewer using VS2005: can't use nested objects as data source

I am using the WinForms ReportViewer in VS2005 to create some reports from some data objects that I supply to it. What I have noticed is that the data sources for the report will show the whole structure of the object including any sub-objects, but the sub-objects do not work. Is this a known limitation of ReportViewer or am I doing so...

ReportViewer page control

Hi, I am new to ReportViewer, and trying to test out one simple report, but can't seem to get it working. Say I have a business object, let's call it Statement, One page of report will be created for this object. I added a TextBox control to the report, bind it to the Statement.Name, after bind the report to reportviewer, give it a lis...

Requirements for design-time data source in Report Viewer 2010

What are the requirements for a custom data source to be listed in the 'Data Source' drop-down list when adding a Dataset to a .rdlc report in Report Viewer 2010? As can been seen from the screen grab, for some reason it is listing potential sources from a variety of referenced assemblies, but I can't see an obvious pattern as to why it...

ReportViewer textbox moves unexpectedly

I'm using ReportViewer at my work and I've run into a problem I can't solve. This particular report is one that has a section that's visibility is determined by checking a field: =IIf(Fields!TRREQUEST_BK_STATUS_CD.Value.ToString() <> "DELETE", True, False) This isn't where the problem is happening though. Above this section, there are...

Display SSRS report in ReportViewer control

Hi There View have a central report server running SSRS, all our reporta are already built and present on the server. How can i now dispaly one of those reports using ReportViewer Contontrol in ASP.NET? My Control: <rsweb:ReportViewer ID="ctReportViewer" runat="server" /> My CodeBehind: var reportServer = ctReportViewer.ServerRep...

ReportViewer IIf expression in text box returns #ERROR

I'm using ReportViewer for work and I'm trying to get an IIf expression to work with a few text boxes that are using FormatCurrency(). The reason I needed an IIf statement in the first place was because occasionally on this report, there will be null parameters. The example here is a shipping box that may or may not have a value. If it h...

Print Dialog Does not show up in Crystal Report Viewer ... giving error

WE developed system integrated with crystal Reports, with Crystal Report viewer on page. but the problem is we hosted it on 32 bit server but when access it and try to print the report it gives the error and does show any dialogue. we have installed full crystal report version with License but error is there. I tried to find but no succ...

how can I load datatable as ReportDataSource?

i am trying to do something like: this.reportViewer.LocalReport.DataSources.Clear(); DataTable dt = new DataTable(); dt = this.inputValuesTableAdapter.GetData(); Microsoft.Reporting.WinForms.ReportDataSource rprtDTSource = new Microsoft.Reporting.WinForms.ReportDataSource(); rprtDTSource = dt; // this line generates exception /...