|
SSRS 2012: Проблема медленного рендеринга отчета
|
|||
---|---|---|---|
#18+
Коллеги, добрый день. Прошу Вас оказать помощь в проблеме отчета в SSRS 2012 (Microsoft SQL Server 2012 - 11.0.5582.0 (X64) Feb 27 2015 18:10:15 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)) 1. Создаем пустой отчет «ReportDetails»; 2. Создаем отчет «ReportList» и помещаем в него элемент «список», который связываем со следующим запросом: Код: sql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.
3. В элемент «Список» помещаем текстовый блок, далее TextBoxProperties -> Action -> Go to report, specify s report «Report Details»; 4. В свойствах «report» отчета «ReportList» параметра «InteractiveSize» выставляем 0;0 Все. Теперь развертываем эти отчеты на сервер и запускаем ReportList. Какую картину мы наблюдаем: При этом довольно простом отчете, перед тем как он появится, должно пройти не менее 30 секунд, что конечно долго. Если теперь в свойствах текстового блока отчета «ReportList» выставить далее TextBoxProperties -> Action ->None и снова развернуть на сервере, то отчет «ReportList» полностью появляется за 2-3 сек. Если эти отчеты развернуть на сервере версии (Microsoft SQL Server 2008 (SP3) - 10.0.5835.0 (X64) Mar 1 2013 22:17:38 Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 5.2 <X64> (Build 3790: Service Pack 2)) то не зависимо настроен ли переход на другой отчет с текстового блока или нет, отчет работает одинаково быстро, примерно, 2-3 сек. Исследования журнала SSRS показали: logdataextension!ReportServer_0-6!2e1c!03/24/2015-13:39:32:: w WARN: The member property 'UNIQUE_NAME' of the level '[Секции].[Division].[Level 02]' could not be found. processing!ReportServer_0-6!2e1c!03/24/2015-13:39:32:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 2.; dataextension!ReportServer_0-6!2dcc!03/24/2015-13:39:33:: w WARN: The member property 'UNIQUE_NAME' of the level '[Секции].[Division].[Level 02]' could not be found. processing!ReportServer_0-6!2dcc!03/24/2015-13:39:33:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 3.; dataextension!ReportServer_0-6!2dcc!03/24/2015-13:39:44:: w WARN: The measure named '[Measures].[Mega Day Fact]' has 0 corresponding columns. Exactly one should exist. processing!ReportServer_0-6!2dcc!03/24/2015-13:39:44:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 17.; dataextension!ReportServer_0-6!2dcc!03/24/2015-13:39:46:: w WARN: The measure named '[Measures].[Mega Day Fact]' has 0 corresponding columns. Exactly one should exist. processing!ReportServer_0-6!2dcc!03/24/2015-13:39:46:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 17.;На просторах интернета обнаружил, что на этот баг в CU5 уже выпущен баг-фикс: http://support.microsoft.com/en-us/kb/3028322 Symptoms Assume that you render a report in Microsoft SQL Server 2012 Reporting Services (SSRS 2012) or SSRS 2014, and that the report has some small errors, for example: library!ReportServer_0-8!4798!12/16/2014-16:33:01:: i INFO: RenderForNewSession('/MyReport') processing!ReportServer_0-8!4798!12/16/2014-16:33:03:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 8.; processing!ReportServer_0-8!4798!12/16/2014-16:33:33:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9.; In this situation, the report runs successfully. However, it might take longer time than usual to render the report. Each error may cause a 30-second delay.После чего CU5 был немедленно установлен, но эффекта никакого так и не последовало, отчет также рендерится весьма продолжительное время. Прошу Вашей помощи куда копать. В приложении прикладываю файлы с отчетами. ... |
|||
:
Нравится:
Не нравится:
|
|||
27.03.2015, 16:22 |
|
|
start [/forum/topic.php?fid=31&gotonew=1&tid=1533435]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
28ms |
get topic data: |
10ms |
get first new msg: |
8ms |
get forum data: |
3ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
others: | 279ms |
total: | 388ms |
0 / 0 |