How to copy Microsoft. ReportViewer. ProcessingObjectModel. dll to bin folder of your project

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.