AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.03.2015, 02:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX ReportViewer web part fails with time out after running >90 seconds
Источник: http://blogs.msdn.com/b/axsupport/ar...0-seconds.aspx
==============

I recently have an incident with the same timeout error mentioned in the blog in below that customer would like to run report exceeding 4 minutes in EP. The same steps are used to extend the AsyncPostBackTimeout attribute except that AxScriptManager is searched/modified instead of ScriptManager in the master page mentioned in the blog.

http://blogs.msdn.com/b/selvar/archi...timed-out.aspx

We then encounter the “Code Block are not allowed in this file” error that following the blog in below does not resolve the error.

http://svengillis.blogspot.com/2008/...this-file.html

If you encounter similar error, here is another approach to extend AsyncPostBackTimeout

1) Open the master page from \Web\Web Files\Static Files\defaultaxV4 in the AOT

2) Search for the OnLoad() method to replace in something in below.

protected override void OnLoad(EventArgs e)

{

base.OnLoad(e);

AxScriptManager scripts = AxScriptManager.GetCurrent(this.Page);

if (scripts != null)

{

scripts.AsyncPostBackTimeout = 600; // 600 seconds

}

//Call Header.DataBind to generate dynamics styles in header

Page.Header.DataBind();

}



3) Save and deploy the defaultaxV4 master page (Right click and select Deploy Element)




Источник: http://blogs.msdn.com/b/axsupport/ar...0-seconds.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX Performance Troubleshooting Checklist Part 2 Blog bot DAX Blogs 0 09.09.2014 16:11
dynamicscpm: Currency translation for Microsoft Dynamics AX 2012 - Part 1: Setup (CU7 feature) Blog bot DAX Blogs 3 25.10.2013 02:12
emeadaxsupport: Microsoft Dynamics AX Enterprise Portal what to do when WebPart "disappear" from site Blog bot DAX Blogs 0 26.04.2012 19:11
emeadaxsupport: Running AX 2009 Client raises error: "An invalid directory structure for Microsoft Dynamics AX was detected" Blog bot DAX Blogs 0 01.04.2011 06:13
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 05:18.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.