ASP.NET中的Report是xml文件,在属性References引用dll文件时,xml文件会添加<CodeModules>节点;如下:

<CodeModules>
    <CodeModule>Util, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CodeModule>
  </CodeModules>

有时会提示:“error while loading code module...”的错误,只需要把这个dll文件拷贝到\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies(或PrivateAssemblies)文件夹下即可。

 

In order to compile an RDLC that uses a custom assembly, the assembly should be in the %PROGRAMFILES%\Visual Studio 8\Common7\IDE\PublicAssemblies or PrivateAssemblies folder.

To diagnose assembly loading problems, you can use the Fusion log viewer tool (fuslogvw.exe). 

 

report报表参考蜡人张的博客:http://www.cnblogs.com/waxdoll/archive/2006/02/25/337822.html

posted on 2011-01-21 11:14  飞翔-方向 积累 沉淀  阅读(435)  评论(0)    收藏  举报