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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.10.2011, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,626 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Performance (Timeout) Problem with Microsoft Dynamics AX Enterprise Portal
Источник: http://blogs.msdn.com/b/emeadaxsuppo...se-portal.aspx
==============

Some time ago we got problems with performance on Microsoft Dynamics Ax Enterprise Portal. The Microsoft Dynamics AX client was working perfectly fine and the were no delays. But as soon we got to an Enterprise Portal the issue started. Enterprise Portal Role Center was opening very slowly. First of all we always advise to install following hotfix: KB 2587754: You experience slow performance when you run a request in the Enterprise Portal in Microsoft Dynamics AX 2009 Service Pack 1 to avoid that we running into the same problem.

The issue still occurred. What is strange when we had debugging disabled we got always the same error trying to enter Role Center page:

An unexpected error has occurred.
Please check the event log or contact your administrator.

And in event log:

From: Microsoft.Dynamics.Framework.BusinessConnector

Dynamics Object Adapter Call failed.
Thread was being aborted.
System.Threading.ThreadAbortException
at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* )
at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object[] paramList)

</span> And:

No .NET Business Connector session could be found.
Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.NoKernelSessionException
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.get_AxaptaAdapter()
at Microsoft.Dynamics.Framework.Portal.AxWebSession.WebSessionClientRemove()
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.Release(ICacheContext context)

 

Followed by ASP.NET warning

Exception information:
Exception type: HttpException
Exception message: Request timed out.

When we enabled debugging as given in this article, the Role Center page was loading but very very slowly. What make sense, setting property debug=true in web.config cause IIS to ignore timeout settings this is why we got page up and running. What is more accessing any other page beside Role Center work very fast. After log investigation we found out that the issue was on Work List Web Part. Removing this web part allowed the Role Center to load slowly. This Web Part is used in every Role Center this is why we got into the problem every time we tried to open any Role Center.

It happens that issue was connected with the volume of table EvenInbox assigned to user (field USERID) who tried to access Role Center page. There were more than 10000 records.

Table EventInboxs contains:

- Alerts set up for user

- Workflow communication (request for approval, completion information etc)

- Errors (ie. Workflow execution errors, Project synchronization errors etc)

- Batch alerts (depended on batch job settings)

If user is administrator and a lot is happening then we can end up with lots of records in table EventInbox which leads into problems on Role Center page.

The good practice is to schedule batch job provided to clean this table which you can find: Administration > Periodic > Notification clean-up as a part of your maintenance plan to make sure it will not grow too much.

 

--author: Czesława Langowska

--editor: Czesława Langowska

--date: 10/Oct/2011




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Sample Design Patterns: Microsoft Dynamics AX - Remedy for slow Microsoft Excel import Blog bot DAX Blogs 0 29.05.2011 17:13
AX UK: Microsoft Dynamics AX Enterprise Portal Development Cookbook Blog bot DAX Blogs 0 07.01.2010 22:05
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips Blog bot DAX Blogs 3 09.07.2009 13:07
Developer for Microsoft Dynamics AX Certification Roadmap Blog bot DAX Blogs 1 13.05.2009 16:17
Dynamics AX: Enterprise Portal Development in Microsoft Dynamics AX 2009 - Courseware Released! Blog bot DAX Blogs 0 30.07.2008 23:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:11.