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

Sql 2012 automaticly saving 600000 rows to Excel

$
0
0

Hi,

We have report that generate 600000+ rows (SQL2012 standard)

sp execution 8 minutes

report generation 45 minutes

We need to save this report to excel (We want to run this report daily with different set of params)

I tried to call report following way

http://myReportServer/ReportServer?%2fPayrol%2AccountingReport&rs:Format=Excel&StartDate=2013-02-01 00:00:00&EndDate=2013-02-28 23:59:59&Department=7000&CompanyList=-1&Langue=EN

after 30 minutes report aborded..

then I changed timeouts

timeout for report = 0
timeout report server 0
aslo I set <Add Key="DatabaseQueryTimeout" Value="0"/> in rsreportserver.config (service restarted)


Now after 45 minutes of rendering report genearate 700 pages and I get prompt save it ot excel
but when click to excel operation get aborded

I tried
 1. to run and save auto report to excel using SSIS, operation aboreded after 20 minutes
 2. use subsription and save to file but got "Error: Thread was being aborted"

Question
 1. Any other "timeout"seeting has to be changed ?
 2. Is it possible to add addtional params URL call with destination path and file name to avoid prompt "Save to file" 

http://myReportServer/ReportServer?%2fPayrol%2AccountingReport&rs:Format=Excel&StartDate=2013-02-01 00:00:00&EndDate=2013-02-28 23:59:59&Department=7000&CompanyList=-1&Langue=EN


I was able to run similar report using url,  it generate 100000 rows and I saved it to Excel ,it took about 10 minutes for generation of report


Viewing all articles
Browse latest Browse all 20764

Trending Articles