Forum Discussion

shivaprasadg's avatar
shivaprasadg
Frequent Visitor
7 years ago
Solved

Power BI Reporting Server Branding

Hi,

 

Not able to upload zip file to branding in power bi Reporting server and getting this error below,

 

"There is a problem with the system resource package."

 

Pls help.

 

regards

shivaprasadg

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Note that in your metadata.xml file, dont specify https for the namespace attribute, just use http

    It should look like 

    <SystemResourcePackage xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/systemresourcepackagemetadata"
    type="UniversalBrand"

    • amarines's avatar
      amarines
      Frequent Visitor

      For me this was the solution, Thanks Anonymous 

  • If you use Windows Zip or Folder Compress in Explorer - you'll include the *directory* info along w/ the files. This causes SSRS Report Services Branding to throw an error. 

     

    Use this PowerShell script to build your branding package instead. Note, the first command compresses the file as a pure, single-file zip (no directory info), the next two lines *add one file at a time. 

     

    $file1 = 'C:\Temp\colors.json'
    $file2 = 'C:\Temp\metadata.xml'
    $file3 = 'C:\Temp\logo.png'
    $destzip = 'C:\Temp\Branding1.zip'
    
    Compress-Archive -Path $file1 -DestinationPath $destzip -Force
    Compress-Archive -Path $file2 -Update -DestinationPath $destzip 
    Compress-Archive -Path $file3 -Update -DestinationPath $destzip