04.03.2015, 02:12 | #1 |
Участник
|
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, напишите личное сообщение администратору. |
|
|
|