# Saturday, March 19, 2005
« Reporting Services Link Dump [13-Mar-205... | Main | Visual Studio Team System pricing disapp... »

After spending an untold number of hours trying to get a Reporting Services Extension to work I thought I should pass on the knowledge to others… Basically, it’s all about security and the rssrvpolicy.config file. This file is a little confusing especially as the default installation uses a weird indent. This article on code access security pretty much covers everything except where to put your new code group definition.

<CodeGroup class="FirstMatchCodeGroup" PermissionSetName="Nothing">
    <
CodeGroup Name="Report_Expressions_Default_Permissions"/>
    
<CodeGroup class="FirstMatchCodeGroup">
        <
IMembershipCondition Zone="MyComputer" />
        <
CodeGroup Name="SharePoint_Server_Strong_Name"/>
 
        <
CodeGroup Name="YOUR_CODE_GROUP_HERE"/>

    </CodeGroup>
</
CodeGroup>

I have removed has much as possible from the file to illustrate where your new definition goes. See the nesting? The outer one says match the first inner one or set permissions to nothing. Then a code group Report_Expressions_Default_Permissions sets up the default expression permissions. The next code group has a membership condition of Zone="MyComputer" with a bunch of full trust Microsoft code groups. Finally, the last one is for SharePoint. Your new code group goes directly after this one at the same level.

Hope that saves someone some time.

by This posting is provided "AS IS" with no warranties, and confers no rights.
posted on Saturday, March 19, 2005 7:23:12 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] Trackback
Related posts:
Do you have great business intelligence skills?
Analysis Services Essential Reading
Using Report Model Data Sources from Report Designer
Configuration Settings for Reporting Services Extensions
Reporting Services Link Dump [13-Mar-205]
Comments are closed.