Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sharepoint 2013/SSRS error long reports

Posted on 2014-03-11
11
Medium Priority
?
874 Views
Last Modified: 2016-06-04
We are upgrading our Sharepoint to 2013.  I have several reports that take about 3minutes to run because of a slow ODBC connection used by a linked server.
They ran fine in Sharepoint 2007.  They run fine in Visual Studio 2013.  However they return this error after about 1.5 minutes.

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

Some reports run fine, it is only the ones that take longer than 1.5 minutes.  I have tried adjusting every timeout option I can find.  I have tried adding a connection timeout to the dataset.  I have updated the report processing options to not timeout.  I have added this to the web config file.
<httpRuntime maxRequestLength="51200" requestValidationMode="2.0" executionTimeout="1000"/>
 
No luck.  Please help!!
0
Comment
Question by:vzorn
[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
  • 5
  • 4
11 Comments
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 39922919
Which web.config ?

error 503 is service not avaiable
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 39923126
Have you considered re-designing the reports so that they actually run automatically in advance and it's only the presentation that happens on-demand?
0
 

Author Comment

by:vzorn
ID: 39923763
That is not an option, we go live on Saturday.  
I have figured out the reports run as subscriptions and email just fine.  They just don't come up on the screen in the report viewer.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 16

Expert Comment

by:DcpKing
ID: 39924191
How big are the reports? i.e. how much information to they move. Don't forget that there are limits to how much data SSRS can pivot and render. If you're viewing them on relatively small machines they may be just running out of space for rendering, and, in my experience, SSRS just "doesn't" - no warnings, nothing. Just a blank screen!
0
 

Author Comment

by:vzorn
ID: 39924753
This is the error:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 503

We have a brand new VM with Windows Server 2012, it is only using 25% of the capacity while the report runs.
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 39927254
"We have a brand new VM with Windows Server 2012, it is only using 25% of the capacity while the report runs."

And, as you observe, reports run there and turned into (presumably) pdf files and emailed out work fine.

OTOH, reports running on workstations fail.

This points to a problem with the workstations. So far as I am aware, SSRS renders on the local machine. Therefore, if you are sending a lot of information to the SSRS rendering engine it can just fail, giving you nothing to look at! Personally, I managed to achieve that by sending about 30,000 rows to a tablix!

hth

Mike
0
 

Author Comment

by:vzorn
ID: 39927555
I have been testing on the server itself not on a workstation.
Are there any settings I can change to allow SSRS to render for a longer period?
I am pretty sure it is timing out.  It always times out at 2 minutes.
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 39930251
What's taking the time? Is it the query or the data transfer? Can you tell, maybe, by running a failing report's query on the database into a table and then re-running a version of the report with the report just doing a straight select from the new table?

If it's the transport then you're pretty much screwed unless you can speed it up or change the timeout in either SSRS or Sharepoint (I'd imagine that it would be a Sharepoint poblem, as SSRS was running them ok in 2007. If the query then look to ways of speeding it up.

Mike
0
 
LVL 16

Expert Comment

by:DcpKing
ID: 39930259
This may help for SSRS timeouts:

http://technet.microsoft.com/en-us/library/ms155782.aspx

There are also some suggestions here (I'm not a Sharepoint developer, but some are relevant to this problem:

http://blogs.msdn.com/b/mariae/archive/2009/09/24/troubleshooting-timeout-errors-in-reporting-services.aspx

Good luck!


Mike
0
 

Accepted Solution

by:
vzorn earned 0 total points
ID: 39964040
Turns out we needed to turn of the Request Manager service since there was only one server in the farm.  Had to get Microsoft to help on this one.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

661 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