How to deploy custom assembly in SSRS in Production Environment

后端 未结 3 2039
时光取名叫无心
时光取名叫无心 2021-01-23 02:17

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

相关标签:
3条回答
  • 2021-01-23 02:41

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

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

    0 讨论(0)
  • 2021-01-23 02:47

    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"
    />
    

    0 讨论(0)
  • 2021-01-23 02:51

    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.

    0 讨论(0)
提交回复
热议问题