VS2008 .NET3.5

编程入门 行业动态 更新时间:2024-10-15 02:28:53
本文介绍了VS2008 .NET3.5 - 无法加载文件或程序集“Microsoft.ReportViewer.ProcessingObjectModel,Version = 9.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a”或其依赖项之一。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我整晚都在寻找解决方案。我找到了几个我使用过但无济于事的宝石。

I have been searching for a solution to this one all evening. I have found several gems of information which I used but to no avail.

我下载了ReportViewer并运行它。我现在在Windows / Assembly文件夹(版本8.0 / 9.0 / 10.0)中拥有reportView的所有版本我试图将它们复制到项目的bin文件夹中,但它们受到保护,我无法复制它们。 我可以在项目中添加Referance,但它只添加了Common& WebForms程序集而不是ProcessingObjecModel。

I downloaded the ReportViewer and ran it. I now have all the versions of the reportView in the Windows/Assembly folder (ver 8.0/9.0/10.0) I tried to copy them to my bin folder of the project but they are protected and I am unable to copy them. I could Add Referance in the project but it only added the Common & WebForms assemblies and NOT the ProcessingObjecModel.

当然它可以在我的本地计算机上运行但不能在共享服务器上运行!

Of course it works on my local machine but not on the shared server!

任何有任何建议的人如何我可以将Microsoft.ReportViewer.ProcessingObjecModel.dll复制到我项目的BIN文件夹中吗?

Anyone got any sugfgestions how I can copy the Microsoft.ReportViewer.ProcessingObjecModel.dll to the BIN folder of my project?

或者我的问题有另一个解决方案吗?

OR is there another solution to my issue?

谢谢

推荐答案

是否需要将dll放在bin文件夹中?为了使ReportViewer正常工作,所有内容都应该在GAC中,尝试删除ReportViewer dll的bin副本并从GAC引用Common和WebForms dll,所有内容都应该正常工作。 Matt M ------------------------------------------ -------------------------------------- 发布此帖子"按现状"没有保证

Is there a need for the dlls to be in the bin folder? For the ReportViewer to work properly everything should be in the GAC, try removing the bin copies of the ReportViewer dlls and reference the Common and WebForms dlls from the GAC and everything should work ok. Matt M -------------------------------------------------------------------------------- This posting is provided "AS IS" with no warranties

更多推荐

VS2008 .NET3.5

本文发布于:2023-11-15 22:30:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598525.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!