[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 572
  • Last Modified:

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!!
0
rckrch
Asked:
rckrch
  • 4
  • 3
1 Solution
 
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
 
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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

Your solution worked perfectly.  Thanks very much.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now