Solved

Unhandled exception (sometimes) in SSRS 2016 Native mode

Posted on 2016-09-23
7
85 Views
Last Modified: 2016-10-23
We're currently using SSRS 2016 (the unpatched RTM) in Native mode and we've run into an issue that occurs rarely, but often enough to be a problem. When viewing a report, leaving it up on the screen for a while (more than a few minutes, but it doesn't always occur) and then coming back later and trying to expand a group or open a separate segment of the report results in an exception:

Sys.Webforms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Unfortunately that's pretty generic and not much help - I found an ASP.NET 4.0.30319.0 "Warning" (Event ID 1309) in the server's application event log that has a bit more detail (snipped a bit to show what seems like the relevant portions):

Event code: 3005
Event message: An unhandled exception has occurred.
(Snip)
Event detail code: 0
 
Application information:
    Application domain: ReportServer_MSSQLSERVER_0-34-131190290606090156
    Trust level: RosettaSrv
    Application Virtual Path: /ReportServer
    Application Path: C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\
    (Snip)
 
Process information:
    Process ID: 1600
    Process name: ReportingServicesService.exe
    (Snip)
 
Exception information:
   Exception type: ArgumentNullException
    Exception message: Value cannot be null.
Parameter name: exception
   at System.Web.UI.AsyncPostBackErrorEventArgs..ctor(Exception exception)
   at System.Web.UI.PageRequestManager.OnPageError(Object sender, EventArgs e)

Has anybody seen this before? It's occurring on all three of our servers (we have a scale-out deployment), but it only happens once every few days or so (about once/week per server). I don't think it's not a strict timeout, as I've let a report sit open on the site for hours and then browsed around with no issue at all.

There's a CU out for SQL 2016 that we're going to apply in our lab to see if that resolves it, but I wanted to see if anybody here had thoughts before we do that.
0
Comment
Question by:Ryan McCauley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 14

Assisted Solution

by:Megan Brooks
Megan Brooks earned 500 total points
ID: 41812859
I haven't had an opportunity yet to set up an SSRS 2016 test environment, but this sounds vaguely similar to things I have seen in the past with earlier versions. The messages above seem to imply that you are using the HTML renderer. Is that correct? Are you viewing in the report server Report Manager, in ReportVIewer embedded in your application, or in your own or a 3rd party report viewer?

As I understand it, CUs are now intended to be installed as product updates (as opposed to hotfixes) at the time they are released, after testing of course. I think the CU should be the best place to start.
0
 
LVL 28

Author Comment

by:Ryan McCauley
ID: 41813413
This occurs on the native SSRS site when viewing a report - we're not embedding anything or doing any non-standard rendering. If there are other options for rendering, I'm happy to try those but I thought it was just the HTML renderer - it appears to be entirely handled by IIS.

I figured the CU is the best place to start - we'll be testing those next week and I'll post here if it resolves the issue (I'm not hopeful based on the released notes, but I'd love to be pleasantly surprised).
0
 
LVL 14

Expert Comment

by:Megan Brooks
ID: 41813425
CU2 came out today. It seems to contain a number of additional SSRS fixes.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 28

Author Comment

by:Ryan McCauley
ID: 41818851
We're trying to reproduce this error in our UAT environment - once we're able to do that, we'll be applying CU2 to see if it resolves it and then I'll update the thread.
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 0 total points
ID: 41849450
This ended up not being an issue resolved by CU2, but rather a step we missed during configuration of setting the machine key to match between all servers in the scale-out deployment:

https://msdn.microsoft.com/en-us/library/cc281307.aspx

It appeared this was happening when the load balancer switched the user between different servers, which wasn't happening very often. Once we corrected the machine key, this error hasn't reappeared.
1
 
LVL 28

Author Closing Comment

by:Ryan McCauley
ID: 41855849
Final resolution wasn't suggested by any other participants.
0
 
LVL 14

Expert Comment

by:Megan Brooks
ID: 41856306
Ouch, that would do it!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Table where row act as column 11 70
sql query 5 44
Convert time stamp to date 2 56
SQL syntax question 6 42
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question