AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
[SOLUTION]How to copy Microsoft.ReportViewer.ProcessingObjectModel.dll to bin folder of your project
Rank: Administration  Joined: 1/9/2010(UTC) Posts: 393 Points: 1,158 Location: India
|
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 :)
|
|
|
|
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
Thanks.
after searching for hours on internet..i was finally able to find this forum and the above solution worked for me.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
|
|
|
|
|
|
Rank: Administration  Joined: 1/9/2010(UTC) Posts: 393 Points: 1,158 Location: India
|
I am glad that this solution is working for you. I had spent days searching for this solution :0
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
This worked perfectly - Thanks for posting!
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
Thank you so much...Its working....
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
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.....
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
6) Microsoft.ReportViewer.ProcessingObjectModel.dll
Add this file also.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
Gracias, ya no sabia que mas hacer y esto solucionó mi problema.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
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
|
|
|
|
|
|
Rank: Administration  Joined: 1/9/2010(UTC) Posts: 393 Points: 1,158 Location: India
|
Thanks v-juanm for the latest information. I appreciate it.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
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\"
|
|
|
|
|
|
Rank: Administration  Joined: 1/9/2010(UTC) Posts: 393 Points: 1,158 Location: India
|
Thanks for the update on latest version. It helps.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
Thanks a lot. This solution worked for my case.
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
Thanks a lot friend. This was the solution for me.
regards from Panama.
|
|
|
|
|
|
Rank: Administration  Joined: 1/9/2010(UTC) Posts: 393 Points: 1,158 Location: India
|
Great... I am glad this solution has worked for so many friends :)
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
U r the champion..... It worked perfectly.... Lov u........ u saved my time.....
|
|
|
|
|
|
|
Rank: Guest
Joined: 12/12/2009(UTC) Posts: 443 Points: 1,361
|
thanks; I have not use it but with look of things i believe it will work very fine.
|
|
|
|
|
|
| Users browsing this topic |
|
Guest (2)
|
AM22 Tech
»
Technical Discussions
»
Asp.net / Web development
»
[SOLUTION]How to copy Microsoft.ReportViewer.ProcessingObjectModel.dll to bin folder of your project
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.