How to deploy custom assembly in SSRS in Production Environment

眉间皱痕 提交于 2019-12-02 05:52:29

问题


I have created one custom assembly and this assembly uses a third party assembly. I have deployed a custom assembly in my local machine. But now, what should I do to deploy the report and those assemblies in the production environment. Is there any automated/wizard process available?


回答1:


You need to copy that assemblies to production server into Microsoft SQL Server\MSSRS\Reporting Services\ReportServer\bin folder. Then back to ReportServer folder and open rssrvpolicy.config file to grant FullTrust permission to CodeGroup with name Report_Expressions_Default_Permissions and CodeGroup with class name FirstMatchCodeGroup.




回答2:


You can copy your library to the ReportServer\Bin folder ex: C:\Program Files\Microsoft SQL Server\MSRS10_50.R2\Reporting Services\ReportServer\bin

Then modify the rssrvpolicy.config in ReportServer folder, find "$CodeGen$" and add the following code

<CodeGroup
    class="UnionCodeGroup"
    version="1"
    PermissionSetName="FullTrust"
    Name="CoDeMagSample"
    Description="CoDe Magazine Sample. ">
   <IMembershipCondition
        class="UrlMembershipCondition"
        version="1"
        Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.R2\Reporting Services\ReportServer\bin\YOURLIBRARY.dll"
/>




回答3:


There's a tool for that. It's called Reporting Services Scripter

Another option is to connect to your production server through SSRS.



来源:https://stackoverflow.com/questions/14600488/how-to-deploy-custom-assembly-in-ssrs-in-production-environment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!