Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a test server and a production server.

On both servers I have a test folder.

When I deploy new aspx pages to the test folder on the test server, I can display and run the report. I use a link from the menu page to open the page.

When I copy the SAME pages from the test server to the production server and copy the SAME link from the test server's menu page to the production server's menu page, I get this error:

Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, ; or one of its dependencies. The system cannot find the file specified.

Source Error: 

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.


Everything is the SAME on both of these servers. The DLLs are the same on both servers. All the pre-existing pages on the production server load and run without any issues or errors.

This just started this week. I haven't made any changes to the production server.

I searched for some possible solutions but haven't found anything to resolve this issue. I verified the ReportViewer dll is using version 11.0.0 and not version 10. My web.config files are the SAME on both servers.

Any ideas what is causing this error?

What I have tried:

I verified the ReportViewer dll is using version 11.0.0 and not version 10.

I verified the time/date stamps on my DLLs and config files on both servers - they are the same.
Posted
Comments
ZurdoDev 14-Sep-16 19:20pm    
Put the ReportViewer dll in the bin folder of the site.
Member 10379103 15-Sep-16 8:47am    
The ReportViewer dll is already in the bin folder of the site. There are several other pages that use this same viewer. If the ReportViewer.dll wasn't in the bin, the other pages would not load. Plus, the page on the test server would also display an error and not load.
ZurdoDev 15-Sep-16 17:07pm    
Then you are using a different version or something. Something is clearly different and none of us have access so I'm not sure what you want from us.
Member 10379103 15-Sep-16 17:39pm    
Having checked everything that is usually suggested and finding everything the same, I was reaching out in case anyone else had experienced the same issue and to see how they resolved it. I also wanted to be sure that I was not missing something that was basic. That is what I wanted from the group.
jgakenhe 14-Sep-16 22:05pm    
Yes, you're missing something. You're missing the ReportViewer dll or the Report Viewer isn't installed on the PROD server. Stack has a good list of items to check: http://stackoverflow.com/questions/16493817/could-not-load-file-or-assembly-microsoft-reportviewer-webforms

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900