A: When installing the System Center Service Manager 2012 Data Warehouse, several steps have to be taken on the SQL Reporting Services server. These steps consist of copying the Microsoft.EnterpriseManagement.Reporting.Code.dll file from the Service Manager 2012 Prerequisites folder to the C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin folder (for SQL Server 2008 R2), and then editing the C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rssrvpolicy.xml file and adding the security required to use the Microsoft.EnterpriseManagement.Reporting.Code.dll file.

If the security hasn't been correctly configured when the management packs from Service Manager try to deploy to the Data Warehouse server, errors will be logged in the Operations Manager event log on the Data Warehouse server. They look like the following:

Log Name: Operations Manager<br>
Source: Deployment<br>
Date: 5/4/2012 12:08:51 PM<br>
Event ID: 33410<br>
Task Category: None<br>
Level: Error<br>
Keywords: Classic<br>
User: N/A<br>
Computer: SAVDALSMDW01.savilltech.net<br>
Description:<br>
Deployment Execution Infrastructure has retried the maximum number of times and is giving up on this execution step. <br>
MP Element ID: 498da8b0-4612-f2e5-82a8-e42741d1f7b1 <br>
MP name: ServiceManager.IncidentManagement.Report.Library <br>
MP version: 7.5.1561.0 <br>
Operation: Install <br>
Error message: Install 'Report' operation failed from within 'install' Installing reports store = http://SAVDALSQL01:80/ReportServer/ReportService2005.asmx parameters are folderpath = /SystemCenter/ServiceManager/ServiceManager.Console.Reporting.IncidentManagement, report name = ServiceManager.Report.IncidentManagement.ListOfIncidents in AddReport within SRSResourceStore AddReport ; After initialize within SRSResourceStore AddReport ;Error while loading code module: ‘<span style="color: #7030a0;"><strong>Microsoft.EnterpriseManagement.Reporting.Code</strong></h3>, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Details: Could not load file or assembly 'Microsoft.EnterpriseManagement.Reporting.Code, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. <span style="color: #7030a0;"><strong>Failed to grant minimum permission requests</strong></h3>. (Exception from HRESULT: 0x80131417) at Microsoft.SystemCenter.ResourceAccessLayer.SrsResourceStore.AddReport(String folderPath, String name, String reportDescription, String reportId, IResource rdl, Boolean overwrite, Boolean visible)<br>
at Microsoft.EnterpriseManagement.Deployers.ReportDeployer.CreateReport(Boolean overwrite)

Notice the reference to the DLL file copied and the permissions issue. After you confirm you copied the DLL to the right location, open the rssrvpolicy.xml and ensure the code block documented at Microsoft's website has been correctly pasted at the bottom of the file.

The most common problem is that the code block isn't correctly pasted in and is therefore not used. Below is a correctly pasted block at the bottom of the file. Fix the file and save, and the change will take immediate effect. Make sure the preceeding CodeGroup block has its </CodeGroup> in place still or the new entry will not be used.

 

        <CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="DundasChartControl" Description="This code group grants FullTrust to DundasChartControl assemblies."><br>
            <IMembershipCondition class="StrongNameMembershipCondition" version="1" PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100d16006505277d0860ce7d429331480cb3b9711481cd51213259cf3b106e30156f5ef48262e0154e862fa05374e6c7cef5c4daa95b2272a73e503f0e5077c6b71a24176e67eadbff8e8765742f022e317194571de05d0ac9a4fca62fd355854ebe5a38969a831030018edad7d7405dd23d0710c9faf95acf16a4a14003bada5be" /><br>
        </CodeGroup><br>
<
CodeGroup <br>
    class="UnionCodeGroup" <br>
    version="1" <br>
    PermissionSetName="FullTrust" <br>
    Name="Microsoft System Center Service Manager Reporting Code Assembly" <br>
    Description="Grants the SCSM Reporting Code assembly full trust permission."> <br>
   
<
IMembershipCondition <br>
        class="StrongNameMembershipCondition" <br>
        version="1"          PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100B5FC90E7027F67871E773A8FDE8938C81DD402BA65B9201D60593E96C492651E889CC13F1415EBB53FAC1131AE0BD333C5EE6021672D9718EA31A8AEBD0DA0072F25D87DBA6FC90FFD598ED4DA35E44C398C454307E8E33B8426143DAEC9F596836F97C8F74750E5975C64E2189F45DEF46B2A2B1247ADC3652BF5C308055DA9" <br>
    /><br>
</CodeGroup><br><br>
      </CodeGroup><br>
     </CodeGroup><br>
    </PolicyLevel><br>
   </policy><br>
  </security><br>
 </mscorlib><br>
</configuration>