Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS 2012 Recurring ASP.Net Error and Unhandled Exceptions

$
0
0

Recently we've been having a recurring ASP.Net error where SSRS stops processing reports through the URL interface (i.e. accessing via a browser from another PC).  Subscriptions continue working however.  Restarting SSRS on the system fixes the situation until about another 8hrs or so later it comes back.  The error message is usually one of the following as seen in the SSRS logs.

ui!ReportManager_0-1!b778!04/07/2016-19:15:23:: i INFO: Unhandled exception: System.IO.FileLoadException: Could not load file or assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

ui!ReportManager_0-4!d8b8!04/06/2016-12:22:25:: i INFO: Unhandled exception: System.TypeInitializationException: The type initializer for 'System.Web.Configuration.RegexWorker' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

System Setup:

  • Windows Server 2012R2 with SQL Server Standard 2012 w/ SP3 and SP3-CU1 installed running in Native Mode for reporting services and a single default instance

We've tried the following without resolution:

  • applied all relevant SQL and system patches
  • Repaired the SQL Server installation via Programs and Features
  • Reinstalled/Repaired .Net Framework 4.5.2
  • Deleted and recreated the encrypted content in SSRS
  • Reapplied the domain service account under which SSRS is running
  • Given the SQL service account local OS admin rights (not ideal but I was grasping for solutions at this point).  Typically this user has minimum OS rights per MS recommendations of running SQL under a service account.

The only fix currently is a restart of SSRS which I have created a task scheduler item to watch for the following ASP.Net error in the OS Application Log.  When this occurs I execute a PowerShell script to force the restart of SSRS.

Event code: 4011

Event message: An unhandled access exception has occurred.

Event time: 4/7/2016 7:15:38 PM

Event time (UTC): 4/7/2016 11:15:38 PM

Event ID: fe040b19a2854a7d897aeb39d47eb86a

Event sequence: 8

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: ReportManager_MSSQLSERVER_0-1-131045444421903809

Trust level: RosettaMgr

Application Virtual Path: /Reports

Application Path: D:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportManager\

Machine name: OurServerHostName

Process information:

Process ID: 44192

Process name: ReportingServicesService.exe

Account name: OurDomainServiceAccount

Request information:

Request URL:http://OurServerHostName/Reports/Reserved.ReportViewerWebControl.axd?OpType=SessionKeepAlive&ControlID=6dd06b5cd2e74f4cbfff40fe50624c23

Request path: /Reports/Reserved.ReportViewerWebControl.axd

User host address: DomainClientPC_IPAddress 

User: DomainUserIDonClientPC

Is authenticated: True

Authentication Type: NTLM

Thread account name: OurDomainServiceAccount

Any other suggestions for things we’ve overlooked that could be causing this issue? I believe this is something incorrect within the http.sys settings but I haven’t been able to determine what it could be and how to resolve it.

Thank you,

-Kirk


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>