Report Viewer will not work when loaded on server

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!!
rckrchAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
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
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
rckrchAuthor Commented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Carl TawnSystems and Integration DeveloperCommented:
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
 
rckrchAuthor Commented:
OK  Where should it be located?
0
 
rckrchAuthor Commented:
Thanks.  I'll install and let you know.
0
 
rckrchAuthor Commented:
Carl Tawn,

Your solution worked perfectly.  Thanks very much.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.