Solved

Report Viewer will not work when loaded on server

Posted on 2014-04-15
7
512 Views
Last Modified: 2014-04-15
I am using a reportviewer for a local report in VS2010.  The report viewer works perfectly when used on my local machine in the visual studio environment, but when I load the report pages, dataset, reportviewer, and changed web config file on the production server it throws an error.

"Could not load the assembly 'Microsoft.ReportViewer.WebForms, Version 10.0.0.0.0, Culture=Neutral, PublicKeyToken=....' or one of its dependencies.  The system cannot find the file specified."

This is for a local report.  I am not using remote processing.

Can anyone help??

Thanks in advance!!
0
Comment
Question by:rckrch
  • 4
  • 3
7 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40001692
Have you installed the ReportViewer components on your production server? If you do, is it the right version?

If you haven't you can get it here: https://www.nuget.org/packages/MicrosoftReportViewerWebForms_v10/
0
 

Author Comment

by:rckrch
ID: 40002053
Carl Tawn

Thanks for the reply.  I have not added the ReportViewer to the server.  It was my understanding that I should not have to dowload anything if this is a local report.  It simply works off the resources loaded in the application.

Not correct?  If this is not correct please explain.

Thanks again.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40002093
A "Local Report" only performs the data processing locally, the server still requires the server components in order to be able to serve the report, and the raw source data, to the client in the first place.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:rckrch
ID: 40002125
OK  Where should it be located?
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 40002230
If you just download and follow the instructions in the link i posted earlier, it will sort itself out. I imagine it will install to the GAC so it is available server wide.
0
 

Author Comment

by:rckrch
ID: 40002302
Thanks.  I'll install and let you know.
0
 

Author Comment

by:rckrch
ID: 40002690
Carl Tawn,

Your solution worked perfectly.  Thanks very much.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question