Author:SoanHttp://www.am22tech.com/s/22/FORUM1/default.aspx? G = posts & m = 12
Scenarios:
-If you get the following errors:
Cocould not load file or assembly Microsoft. ReportViewer. Common
Cocould not load file or assembly Microsoft. ReportViewer. ProcessingObjectModel
You can follow the following steps to copy it from GAC (Global Assembly cache ):
COPY Microsoft. ReportViewer. ProcessingObjectModel
1. Open a command prompt (select Start/Run and then enter "cmd" and press enter ).
2. Type the following command and press enter:
Cd C: \ WINDOWS \ assembly \ GAC_MSIL \ Microsoft. ReportViewer. ProcessingObjectModel
2 (I) Type 'dir' and press 'enter'. You wocould be able to see the following folder:
It depends on which version you have on your system. It can be either 8.0.0.0 OR 9.0.0.0.
8.0.0.0 _ b03f5f7f11d50a3aOR
9.0.0.0 _ b03f5f7f11d50a3a
2 (II). Type "CD 8.0.0.0 _ b03f5f7f11d50a3a" if you have 8.0.0.0 version in step 3 or
"CD 9.0.0.0 _ b03f5f7f11d50a3a" if you have 9.0.0.0 and press 'enter '.
2 (iii). You shocould be able to see the following DLL in this folder:
Microsoft. ReportViewer. ProcessingObjectModel. dll
2 (IV). Now use the following command to copy the DLL file to your bin directory:
Copy *. dll d: \ YourProject \ bin
3.COPY Microsoft. ReportViewer. Common
Cd c: \ WINDOWS \ Assembly \ gac_msil \ Microsoft. reportviewer. Common
3 (I) type 'dir' and press 'enter'. You wocould be able to see the following folder:
It depends on which version you have on your system. It can be either 8.0.0.0 or 9.0.0.0.
8.0.0.0 _ b03f5f7f11d50a3aOr
9.0.0.0 _ b03f5f7f11d50a3a
3 (ii). Type "CD 8.0.0.0 _ b03f5f7f11d50a3a" if you have 8.0.0.0 version in step 3 or
"CD 9.0.0.0 _ b03f5f7f11d50a3a" if you have 9.0.0.0 and press 'enter '.
3 (iii). You shocould be able to see the following DLL in this folder:
Microsoft. ReportViewer. Common. dll
3 (iv). Now use the following command to copy the dll file to your bin directory:
Copy *. dll d: \ YourProject \ bin
Here the path shown in red color shocould be the path of your project's bin folder.
Hope it helps