This solution is transferred from: http://social.msdn.microsoft.com/forums/en/vsreportcontrols/thread/8b2e4694-4a01-460e-8a32-1978ce3d62a0/
Another solution to this problem: http://forums.asp.net/t/1149139.aspx
It varies from person to person. You can use corresponding solutions based on your own situation.
Okay, I'm going to do my best to re-trace my steps, give credit where credit is due, and provide the solution.
First, I discovered on this blog page that the Reset () function is new to Visual Studio 2005 SP1. (But I guess you knew that Dave)
Then, I compared the DLL version of Microsoft. reportViewer. webForms. dll in C: \ Windows \ assemblies to my production machine, and found that I have version 8.0.50727.762 while my prod machine has version 8.0.50727.42. ahah!
Then, I found this MSDN forum post, from a user with other troubles related to the fact that the redistributable ReportViewer package does not yet have the updated version that Visual Studio 2005 SP1 has. so, the DLLs need to be manually copied/imported over to your production machine, until a new package gets released.
Here are the steps I used:
- Copy DLLs to prod machine
- Found these in C: \ Program Files \ Microsoft Visual Studio 8 \ ReportViewer
- Microsoft. ReportViewer. Common. dll, Microsoft. ReportViewer. WebForms. dll, Microsoft. ReportViewer. WinForms. dll
- Found this in C: \ Windows \ assembly \ GAC_MSIL \ Microsoft. ReportViewer. ProcessingObjectModel \ 8.0.0.0 _ b03f5f7f11d50a3a \
- Microsoft. ReportViewer. ProcessingObjectModel. dll
- Copy gacutil to prod machine
- Found gacutil.exe and gacutil.exe. config in C: \ Program Files \ Microsoft Visual Studio 8 \ SDK \ v2.0 \ Bin
- Install each DLL using gacutil/if [path to dll]
- Example: gacutil/if C: \ tempdir \ Microsoft. ReportViewer. Common. dll
- Restart IIS. Done!
I hope this serves to save you and anyone else who stumbles submit SS this post the hours of frustration I suffered. What a relief. Now back to more productive things.
I appreciate the comments from BobMcLaren abve-very clear!
Unfortunately, his solution didn't work for me. Perhaps it was because I do not have C: \ Windows \ assembly \ GAC_MSIL directory.
For me, the best solution is found by downloading the current upgrade of the Microsoft Report Viewer Redistributable 2005 SP1 which was released on Mar. 27,200 7. once installed on the production server, all the problems went away.
-- Christopher