Last post Jun 10, 2021 07:32 AM by ChaoDeng
May 20, 2021 09:41 AM|naveen.gade|LINK
I am working on .Net MVC application with SSRS report integration
Am using latest version of Report Viewer controls for WebForms (150.1427.0). and ReportviewerforMVC nuget pacakges.
Everything is working as expected.. but in the security scan result we found report pages are fefering to old version of Jquery and JqueryUI ..... as shown below
Reportviewer page is displaying jquery v3.1.1 js file where it should use latest jquery, Need help on this
As per the documentation and Release Notes for Report Viewer controls for WebForms and WinForms of SSRS, since the version 150.1357.0 its has been Updated JQuery to version 3.3.1.
why is this displaying 3.1.1 jquery and how do I make it use latest jquery version.
Can some one help me on this
May 20, 2021 11:31 AM|mgebhard|LINK
I assume you have a layout page and are using bundling. Most likely the latest version of jQuery that exists in your project is 3.1.1. Use NuGet to upgrade jQuery to 3.3.1 or the latest jQuery version.
I was able to reproduce your findings by downgrading jQuery to 3.1.1. The Report Viewer uses the version you've defined in your project.
May 20, 2021 02:34 PM|bruce (sqlwork.com)|LINK
Because the SSRS team did not want any external dependencies, the jquery file is resource in the dll. Did you check the resource link to see version? Maybe the page has its own reference.
May 20, 2021 03:15 PM|naveen.gade|LINK
Thanks you for your quick response,
As I am in development mode I am not bundling .
I have upgraded my application to latest Jquery version 3.6, and application Jquery files showing the latest one only.
Still in the below url its refering 3.1.1 only
Please find the attached screenshots for your reference.
Is it because of NuGet ReportviewerforMVC ,it doesn't have update after 2018?.
Or am I miss some thing?
May 20, 2021 03:21 PM|naveen.gade|LINK
Thanks Bruce for your response,
Yes it could be jquery files is resource in the dll. But how to get the latest Juery files from dll?
May 20, 2021 03:28 PM|bruce (sqlwork.com)|LINK
if you type:
what version of jquery is it?
May 20, 2021 03:28 PM|naveen.gade|LINK
Thanks for your quick response,
Still in the below url its referring 3.1.1 only
May 20, 2021 03:30 PM|naveen.gade|LINK
But the application reference Jquery has latest version 3.6
May 20, 2021 06:20 PM|bruce (sqlwork.com)|LINK
as I stated the report viewer dll includes it own copy of jquery (I assume it uses no conflict mode). To update the jquery version, you need MS to release a new version of the dll.
is this the nuget package you are using (last update 2 months ago):
if it needs a newer version for a security update (not functionality), then open a ticket with MS.
May 21, 2021 06:09 AM|naveen.gade|LINK
As per their release notes given link below, they have upgraded JQuery to version 3.3.1 in 2019 versions.
I am not sure why application reports still referring to Jquery 3.1.1 version
in My reportviewerwebfarm.aspx page using below assembly reference and its latest only
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=184.108.40.206, Culture=neutral, PublicKeyToken=89845dcd8080cc91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
May 21, 2021 09:04 AM|ChaoDeng|LINK
I'm looking for a link. This person's problem looks similar to yours.
You can click this
link to see the solution
May 21, 2021 05:50 PM|naveen.gade|LINK
Thanks for the response..
Not exactly same, Even I dont want to use IFrame .
But as per release notes of ReportViewerControl.WebForms, it should support latest version of Jquery, not sure what I am missing.
Jun 10, 2021 07:32 AM|ChaoDeng|LINK
You can use the latest version 150.1449.0 to try.
And you can also
embed the jquery version you use where you need it.