加载代码模块时出错 [英] Error while loading code module
问题描述
我有一些使用自定义程序集的报告(RDLC报告)。我在本地模式下使用报表查看器。
I have some Reports (RDLC reports) which are using a custom assembly. I am using the Report viewer in local mode.
将网站发布到另一台计算机时出现此错误。它在设计模式下以及在我的机器上本地编译和运行时都能正常工作。
I get this error when publishing the web site to another machine. It works fine in design mode and when compiling and running it local on my machine.
程序集位于网站的bin目录中。如果我从那里删除它我在本地得到相同的错误。我试图将它放在发布机器上的许多其他目录中(sytem32,公共程序集等)没有任何作用。
The Assembly is in the bin directory of the web site. If i remove it from there I get the same error locally. I have tried to put it in many other directories on the publishing machine (sytem32, public assemblies etc) nothing works.
有想法的人?
最好的问候Ola
推荐答案
我遇到了同样的问题。
不幸的是,您需要做的是将自定义程序集(以及引用的任何自定义程序集)复制到
I ran into the same issue.
Unfortunately, what you'll have to do is copy the custom assembly (and any custom assemblies referenced) to
C:\Program Files \ Microsoft Visual Studio 8 \ Common7 \IDE \ Private_semblies
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
之后,它应该编译为ya。
after that, it should compile for ya.
干杯,
这篇关于加载代码模块时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!