Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
110 views

Adding Microsoft Report Viewer in Microsoft Visual Web Developer Express 2008

The document provides instructions for adding the Microsoft Report Viewer to a Microsoft Visual Web Developer 2008 Express project to allow hosting reports. It describes downloading the Report Viewer DLL files, copying them to the project, and making configuration changes to reference the DLL and allow report rendering. The key steps are: 1) Installing the Report Viewer DLLs, 2) Copying the required version DLL to the project, 3) Adding a reference to the DLL, and 4) Configuring the web.config file to support report rendering. This will enable report viewing functionality in the free Express edition of Visual Web Developer 2008.

Uploaded by

Ahmad Asyad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

Adding Microsoft Report Viewer in Microsoft Visual Web Developer Express 2008

The document provides instructions for adding the Microsoft Report Viewer to a Microsoft Visual Web Developer 2008 Express project to allow hosting reports. It describes downloading the Report Viewer DLL files, copying them to the project, and making configuration changes to reference the DLL and allow report rendering. The key steps are: 1) Installing the Report Viewer DLLs, 2) Copying the required version DLL to the project, 3) Adding a reference to the DLL, and 4) Configuring the web.config file to support report rendering. This will enable report viewing functionality in the free Express edition of Visual Web Developer 2008.

Uploaded by

Ahmad Asyad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Adding Microsoft Report Viewer in Microsoft Visual Web

Developer Express 2008


If you want to use Microsoft Report viewer by the free version of Microsoft Visual Studio 2008
(Microsoft Visual Web Developer 2008), you cannot !!! because you will not find the reports tab
in the toolbox, even you cannot add a new report because the reporting module is completely
unavailable in this "Express" version, but I got a simple way to be able to host a report in your
application.

First you will need to install Microsoft Report Viewer from here, once you download it you will
have the Microsoft.ReportViewer DLLs in your GAC (Global Assembly Cash), next step is to
get these DLLs from you GAC to can use it in your application as following:

1- Open your Command Propmpt and write:


CD C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms
If you run the command "dir" here you will find two folders
These are the two versions of Report Viewer for both visual studio 2005 and 2008, 8.0.0.0 for
VS 2005 and 9.0.0.0 for VS 2008.

Next step is to copy the required DLL (Whether 8.0.0.0 or 9.0.0.0 according to the version of
web express you are using), then go inside the desired folder, and copy the dll to a destination
(check the picture):

Since you get the dll ... go copy and paste it in in your project, then add a new a new tab in your
project, and make the reference to this dll inside the project
One last step, in the web.config => (system.web/httpHandlers part) add:

view plainprint?

1. add verb="*"   
2. path="Reserved.ReportViewerWebControl.axd"   
3. type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForm
s, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"   

That's it ... I wish you good luck :)

You might also like