报告服务2008r2自定义程序集未找到? [英] reporting services 2008r2 custom assembly not found?
问题描述
我用自定义代码创建了一个dll。
我把dll放在C:\Program Files \ Microsoft Visual Studio 10.0 \ Common7 \\某些网站推荐使用的公共组件。
我想在报告中创建一个引用。
我打开报告,选择属性,选择引用,然后我选择添加。
在.net的列表框中我选择我的dll。
然后我点击确定
当我点击我的报告预览时,我收到他无法找到我的dll的消息。
为什么我收到此消息?
您使用的是商业智能开发工作室(BIDS)吗?对于SQL 2008 R2?如果是这样,您应该将程序集放在'Visual Studio 9.0'文件夹中,因为BIDS尚未与Visual Studio 2010集成。另外我认为您需要将程序集放在
PrivateAssemblies文件夹而不是PublicAssemblies
尝试将程序集放在以下文件夹中,看看是否有效:
C:\Program Files\Microsoft Visual Studio 9.0 \ Common7 \IDE \ Private_semblies
Matt M. / p>
---------------------------------------- ----------------------------------------
此帖子按"原样"提供。没有保证,也没有权利
i've created a dll with custom code.
i've put the dll in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies as recommended by some websites.
i want to create a reference in a report.
i open my report, choose properties, select references, then i choose add.
in the list box of .net i choose my dll.
then i click ok
when i then click on preview of my report i get the message that he can't find my dll.
why do i get this message??????
Are you using Business Intelligence Development Studio (BIDS) for SQL 2008 R2? If so you should put the assembly in the 'Visual Studio 9.0' folder since BIDS in not integrated with Visual Studio 2010 yet. Also I think you need to put the assembly in the PrivateAssemblies folder not the PublicAssemblies
Try putting your assembly in the following folder and see if that works:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies
Matt M.--------------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights
这篇关于报告服务2008r2自定义程序集未找到?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!