Solved

SSRS Report user closes the browser, the report stored procedure still running.

Posted on 2010-08-17
3
419 Views
Last Modified: 2012-05-10
We have a situation where the user runs a report, closes the browser and runs it again. User runs it and closes it multiple times causing false load on the SQL server and the cpu spikes to 100%.

Is there a way to stop executing the report SQL Procedures/statements in SQL Server when the report browser is closed.
0
Comment
Question by:dba2dba
  • 2
3 Comments
 
LVL 7

Expert Comment

by:lundnak
ID: 33457702
Is this a long running report?
I had a similar instance, but in my case the report was buggy and would run forever.  So I set the report time in in SSRS to be five minutes.  This was an adequate amount of time because none of the reports on the server would run that long.
0
 
LVL 8

Author Comment

by:dba2dba
ID: 33457987
It is a long running but, I could not set time out to a value as there are lot more long running ones.

I wanted to know what happens when the SSRS User closes the report Browser while the report is being fetched.

Does it continue to run in the back ground or does it stop exeuting?

Thanks,
0
 
LVL 7

Accepted Solution

by:
lundnak earned 500 total points
ID: 33458430
The SQL Server session continues to run.  I haven't found a method yet to have SSRS close the orphaned sessions.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help with SQL Query 23 39
replication - alerts? 4 23
shrink datafile Sql server 4 17
Minus first query 1 0
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now