r/sysadmin • • 11d ago

Question - Solved SSRS failure with windows update fix..

So looks like the most recent windows update changed some things.
In the reporting services configuration manager, make sure the FQDN is used to connect to SQL Server.

Then on the admin page SSRSSERVER/ReportServer go to connections and make sure your dbconnections use the FQDN as well.

Yay for more unannounced changes, though to be fair this should have never worked to begin with.
I guess this means that before SSRS servers SSL connections never checked what they were connecting to....

10 Upvotes

7 comments sorted by

2

u/DataFracking 10d ago

they had several that may have done this in November, a TON, patching is the wild west in the age of Ai..

1

u/SwampyUndies 10d ago

Yea. I mean this one I agree with. It should have validated the certificate against the url. But how did it not before? And then why does a patch have to go from nothing to breaking it. Instead of maybe throw alerts in event viewer for a month or so. I mean it was “fine” for decades.

1

u/brian_cloudeu 10d ago

SSRS-only failure?

1

u/SwampyUndies 10d ago

Yep sql was up just fine but ssrs was down in multiple envs right after updates.

2

u/brian_cloudeu 9d ago

SSRS gets its own post-patch smoke test, then.

2

u/01011110101101010010 4d ago

The fix that worked for us (with fips mode enabled and Nov 2026 patches installed) was to run the below powershell code on our SQL Enterprise 2022 SSRS App server on Windows 2022 as admin:

$keys = 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319', 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319'
$keys | ForEach-Object { Get-ItemProperty $_ | Select-Object PSPath, SchUseStrongCrypto, SystemDefaultTlsVersions } | Out-File C:\temp\netfx-tls-before.txt
foreach ($k in $keys) {
    Set-ItemProperty $k -Name SchUseStrongCrypto       -Value 1 -Type DWord
    Set-ItemProperty $k -Name SystemDefaultTlsVersions -Value 1 -Type DWord
}
Restart-Service SQLServerReportingServices

We have fips mode enabled, and already using fqdn for data source names. After installing the latest Windows and SQL patches this weekend, subscription emails failed, and we got 500 errors in SSRS. We also could not access the subscriptions page.

When we went to, the below Extensions page on our ssrs server, we'd get a 500 error.

https://<ssrsAppServer.example.com>/Reports/api/v2.0/Extensions 

According to AI this issue is due to:

  • What the results show:

    • RSPortal.exe targets .NET Framework 4.5 (sku=".NETFramework,Version=v4.5"). A .NET app built for 4.5, with SchUseStrongCrypto and SystemDefaultTlsVersions unset, gets legacy TLS defaults. Those default to SSL 3.0 + TLS 1.0, not the operating system's settings. PowerShell is unaffected because it uses the system default.
    • On this server, any request limited to SSL 3.0/TLS 1.0 fails. Your test got "The client and server cannot communicate, because they do not possess a common algorithm", since GPO turns off SSL 3.0 and TLS 1.0 and FIPS mode is on.
    • The portal's exact error (ArgumentException in ValidateCreateContext) didn't reproduce from PowerShell. Setting the protocols in PowerShell isn't the same as running inside a 4.5-targeted process, which also gets the older .NET behaviors, so I can't fully explain the different error. But the common factor is clear: RSPortal.exe's back-end calls use .NET's legacy TLS defaults, and those defaults can't work on this hardened server.
    • I don't know exactly why it started now. Likely candidates: SSRS 16.0.9813 changed how the portal sets protocols for its SOAP calls (that's the setConnectionProtocol in the stack), or a recent GPO change around FIPS or TLS. Either way the fix is the same.

For reference, attached are the sql related updates we installed on SSRS this weekend, then started to have this issue.