简体   繁体   English

SSRS报告缓慢加载第一个报告

[英]SSRS Reporting loads slowly the 1st report

I have a website(asp.net) which displays ssrs reports. 我有一个显示ssrs报告的网站(asp.net)。 Howevery everytime that I try to run the report from the website it takes about 2 min to load, but if I click on the report again , it will load up in seconds. 但是,每次我尝试从网站运行报告时,大约需要2分钟才能加载,但是如果我再次单击该报告,它将在几秒钟内加载完毕。 I have tried to run a query that is used by the report and I get the results in second as well. 我尝试运行该报表使用的查询,并且我也获得了第二个结果。

Is there any configuaration that I need to change or any tsql code that I need to add? 是否需要更改任何配置或需要添加的任何tsql代码?

I have gone through to solutions provided here on stackoverflow but still had no luck. 我已经了解了stackoverflow此处提供的解决方案,但是仍然没有运气。

Thanks 谢谢

it seems to be an SSRS issue. 这似乎是SSRS问题。 There is nothing wrong with your report. 您的报告没有错。

Its "normal" that SSRS takes more time to load the first time you access it after a long time of inactivity. 长时间不活动后,SSRS在第一次访问它时会花费更多时间来加载它,这是“正常”的。 The issue is caused by the way how SSRS works and SSRS regularly restarts application domain after specific time period. 该问题是由SSRS的工作方式引起的,SSRS会在特定时间段后定期重新启动应用程序域。 After the application domain is restarted, then upon first request to the SSRS it needs to load all the settings and it takes quite a long time. 重新启动应用程序域后,然后在首次向SSRS请求时,它需要加载所有设置,并且花费相当长的时间。

This blog show's an work around for the situation 博客节目针对情况进行了处理

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM