Skip to content
www.mytechnote.ru
Menu
  • Administration
    • Scripts
  • Equipment
    • Reviews
    • Instructions
  • Other
  • English
    • English
    • Русский
Menu

SCCM Reporting Errors After Migrating from SQL Server 2016 to 2019

Recently, we performed a migration of the SCCM database from Microsoft SQL Server 2016 to SQL Server 2019. As part of the migration process, it was also necessary to upgrade SQL Server Reporting Services (SSRS), which is used by the SCCM Reporting Services Point role.

Overall, the migration completed successfully and followed the documented procedure. However, after the upgrade, several SCCM reports began failing with the following error:

System.Web.Services.Protocols.SoapException: Failed to load expression host assembly. Details: Could not load file or assembly “SrsResources, Culture=neutral” or one of its dependencies. The system cannot find the file specified.

Cause

The issue was caused by a missing SrsResources.dll file. For some reason, reinstalling the Reporting Services Point role did not copy the library from:

C:\Program Files\SMS_SRSRP\SrsResources.dll

to the SSRS binary directory:

C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin\

Resolution Step 1: Restore the Missing Library

Manually copy SrsResources.dll from the SCCM Reporting Services Point installation directory to the SSRS ReportServer\bin directory.

After copying the file, the original error was resolved, but a new error appeared when opening reports:

System.Web.Services.Protocols.SoapException: The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: That assembly does not allow partially trusted callers.

Cause of the Second Error

By default, SSRS was preventing the SCCM assembly from being loaded under the required trust level.

Resolution Step 2: Modify SSRS Security Policy

To resolve the issue, it was necessary to edit the following file:

C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\rssrvpolicy.config

Near the end of the file, add the required policy entry that grants the SCCM reporting assembly the necessary permissions:

<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="SRSResources"><IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin\SrsResources.dll" />			  
</CodeGroup>

After saving the changes, restart the SQL Server Reporting Services service.

Result

Once the security policy was updated and the SSRS service was restarted, all SCCM reports began working normally again.

Summary

If SCCM reports fail after migrating to SQL Server 2019 and upgrading SSRS, verify the following:

  1. SrsResources.dll exists in the SSRS ReportServer\bin directory.
  2. The SCCM reporting assembly has the required permissions configured in rssrvpolicy.config.

These steps resolved both the assembly loading error and the partial trust security exception in our environment

Posted on 04.06.202604.06.2026 by sanglyb

Post navigation

← Problem Using PassFiltEx on Older CPUs
How to Extend an LVM Partition in Linux →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Подписывайтесь

Youtube
vk
telegram
github
twitter
rss
  • Форум
  • Об авторе
  • Поддержать автора

Популярные записи

Новые записи

  • How to Extend an LVM Partition in Linux
  • SCCM Reporting Errors After Migrating from SQL Server 2016 to 2019
  • Problem Using PassFiltEx on Older CPUs
  • How to remove attachments from old calendar events in Exchange using a script
  • How to download and install Office 2024 LTSC

Архивы

  • 2026 (3)
  • 2025 (5)
  • 2024 (7)
  • 2023 (30)
  • 2022 (4)
  • 2020 (17)
  • 2017 (82)
  • 2016 (5)
© 2015-2026 www.mytechnote.ru
Использование материалов сайта возможно только с разрешения владельца или обязательна индексируемая, прямая, передающая вес ссылка на материал.