Could not load file or assembly - 'Microsoft.ReportViewer

When I deploy my web app I get the following error on page load:

An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I believe it has to do with the registering of dlls on the server because the app runs as expected in vs 2008 dev.

If i understand correctly, all i have to do is place the dlls in the BIN directory at the root of my app and will look there first [i am unable to register the dlls on the server - so i am attempting the BIN approach].

If I am correct that should be the end of it and my app should reference the dlls in the BIN directory without the dlls having to be registered on the server?

My web.config and some other possibly relevant code is listed below.

specs: 2.0
windows server 2000
visual studio 2008
local .rdlc report created at root level of web app
website is configured as virtual directory on the 2000 server
iis 5

Thank you in advance for any assistance you can give.
<compilation debug="true" strict="false" explicit="true">
				<add assembly="System.DirectoryServices, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The DLLs are held in the global Assembly Cache (GAC)
That error suggests the correct version of report viewer is not installed.
In WinXP & server 2003 the GAC is here, C:\WINDOWS\assembly
Installing the correct report viewer on the server should fix this though.
jsvb1977Author Commented:
When I look at the server 2000 path, which is c:\winnt\assembly [i think], i see that report view version 8 is installed and registered with GAC.

Two things:

1. I have attempted to register the version 9 dll's without success. i just cant get it to register in GAC -- and a server reboot is out of the question at this point.

2. Should i attempt to reference version 8 of the dll's in my web app - which ARE registered with GAC?

Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

You are using reportviewer control which comes with reporting services client tools. I guess you do not have the reporting client tools installed on the server. You need to have the reporting services runtime running on the server.
version 8 is from Report Viewer 2005, version 9 is from 2008.
Dont just try and register the DLL. Install the report viewer 2008 package. It can be downloaded from microsoft site if need be.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jsvb1977Author Commented:
I did not forget about this post -- I will install Report Viewer on the server in question as soon as I get the green light from our "Systems Team."

Once it is installed I will report back with the results.

Thank you for your patience.

No problem, I know how companies can sometimes be with their change control procedures.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.