logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3 Pages123>
New Topic Post Reply
Soan
#1 Posted : Sunday, January 10, 2010 12:03:36 AM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
NOTE: THIS IS A SOLUTION AND NOT A QUESTION

Scenarios:
-If you get the following errors:
Could not load file or assembly Microsoft.ReportViewer.Common
Could 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 would 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__b03f5f7f11d50a3a OR
9.0.0.0__b03f5f7f11d50a3a

2(ii). Type "cd 8.0.0.0__b03f5f7f11d50a3a" if you have 8.0.0.0 version OR
"cd 9.0.0.0__b03f5f7f11d50a3a" if you have 9.0.0.0 and press 'enter'.

2(iii). You should 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 would 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__b03f5f7f11d50a3a OR
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 should 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 should be the path of your project's bin folder.

Hope it helps :)

Edited by user Thursday, October 28, 2010 6:44:27 AM(UTC)  | Reason: Not specified

Sponsor

Ashraf
#2 Posted : Monday, September 27, 2010 5:22:35 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thanks.

after searching for hours on internet..i was finally able to find this forum and the above solution worked for me.
Guest
#3 Posted : Tuesday, October 12, 2010 5:36:16 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thanks a ton.
Soan
#4 Posted : Wednesday, October 13, 2010 1:04:56 AM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
I am glad that this solution is working for you. I had spent days searching for this solution :0
Guest
#5 Posted : Thursday, October 28, 2010 3:04:34 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

This worked perfectly - Thanks for posting!
Guest
#6 Posted : Wednesday, February 16, 2011 11:31:59 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thank you so much...Its working....
Guest
#7 Posted : Friday, March 11, 2011 3:56:32 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

thanks a lot
Guest
#8 Posted : Wednesday, April 20, 2011 5:49:59 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

This does not work in my Case. Only one file copied in bin folder (Microsoft.ReportViewer.Common.dll). You have to copy all report viewer files i.e.
1) Microsoft.ReportViewer.Common.dll
2) Microsoft.ReportViewer.WebForms
3) Microsoft.ReportViewer.WebForms.dll
4) Microsoft.ReportViewer.WinForms
5) Microsoft.ReportViewer.WinForms.dll
Copy these files from C:\Program Files\Microsoft Visual Studio 8\ReportViewer and paste in bin folder. This solution works.....
Guest
#9 Posted : Wednesday, April 20, 2011 7:10:24 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

6) Microsoft.ReportViewer.ProcessingObjectModel.dll

Add this file also.
Guest
#10 Posted : Wednesday, June 08, 2011 10:15:45 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Gracias, ya no sabia que mas hacer y esto solucionó mi problema.
v-juanm
#11 Posted : Wednesday, June 08, 2011 9:59:17 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Take in consideration that now there is another version that may need to add

C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\10.0.0.0__b03f5f7f11d50a3a
Soan
#12 Posted : Wednesday, June 08, 2011 11:11:03 PM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
Thanks v-juanm for the latest information. I appreciate it.
Guest
#13 Posted : Thursday, July 28, 2011 7:51:40 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Here is a quick XCOPY for the version 10.0.0.0 stuff. Thanks for posting this!

xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\10.0.0.0__b03f5f7f11d50a3a" "\\myserver\myshare\"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\10.0.0.0__b03f5f7f11d50a3a" "\\myserver\myshare\"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a" "\\myserver\myshare\"
xcopy "C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\10.0.0.0__b03f5f7f11d50a3a" "\\myserver\myshare\"
Soan
#14 Posted : Thursday, July 28, 2011 5:53:31 PM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
Thanks for the update on latest version. It helps.
Guest
#15 Posted : Sunday, August 28, 2011 6:45:24 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thanks a lot.
Guest
#16 Posted : Thursday, September 29, 2011 4:46:47 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thanks a lot. This solution worked for my case.
Guest
#17 Posted : Wednesday, October 05, 2011 3:47:01 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

Thanks a lot friend. This was the solution for me.

regards from Panama.
Soan
#18 Posted : Thursday, October 06, 2011 12:39:22 PM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
Great... I am glad this solution has worked for so many friends :)
Sharath
#19 Posted : Tuesday, October 18, 2011 10:40:32 PM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

U r the champion..... It worked perfectly.... Lov u........ u saved my time.....
benson sunday james +2347085398971
#20 Posted : Monday, October 31, 2011 8:52:54 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

thanks;
I have not use it but with look of things i believe it will work very fine.
Quick Reply Show Quick Reply
Users browsing this topic
Guest
3 Pages123>
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.