Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server Reporting services-在生产服务器上安装报表后,自定义库不工作_Sql Server_Reporting Services - Fatal编程技术网

Sql server Reporting services-在生产服务器上安装报表后,自定义库不工作

Sql server Reporting services-在生产服务器上安装报表后,自定义库不工作,sql-server,reporting-services,Sql Server,Reporting Services,我创建了一个报表,它使用我创建的自定义库。我已将这些库复制到以下文件夹: c:\Program Files\Microsoft SQL 服务器\MSSQL.3\报告 服务\ReportServer\bin\ c:\Program Files\Microsoft Visual 演播室 8\Common7\IDE\private程序集\ 当我使用visualstudio在开发环境中运行报告时,一切都正常。当我将其安装到生产服务器(也复制了这些DLL)上时,返回以下错误: 未能加载表达式宿主程序集。详

我创建了一个报表,它使用我创建的自定义库。我已将这些库复制到以下文件夹:

c:\Program Files\Microsoft SQL 服务器\MSSQL.3\报告 服务\ReportServer\bin\

c:\Program Files\Microsoft Visual 演播室 8\Common7\IDE\private程序集\

当我使用visualstudio在开发环境中运行报告时,一切都正常。当我将其安装到生产服务器(也复制了这些DLL)上时,返回以下错误:

未能加载表达式宿主程序集。详细信息:“MyParserForReportingServices.MyParser”的类型初始值设定项引发异常。(RSerrorLoadingExprhostatAssembly) 有人能帮我吗


也将您的dll添加到此文件夹

C:\Program Files\Microsoft SQL 服务器\MSSQL.3\报告 服务\ReportManager\Bin


我也遇到了同样的问题,并将DLL复制到ReportServer文件夹中并成功

很奇怪,因为在医生那里。提到了ReportManager,但没有提到ReportServer


谢谢你,马苏德

谢谢你@masoud!你的解决方案有帮助!