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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.12.2010, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: User cannot view Customers site at EP on SharePoint 2010
Источник: http://blogs.msdn.com/b/emeadaxsuppo...oint-2010.aspx
==============

Lately we run into very strange problem. On Dynamics Ax Enterprise Portal which was installed on SharePoint 2010 user was not able to access Customers site. The user could log into Enterprise Portal and see other pages so the rights where correctly set up in Dynamics Ax as well in SharePoint (as given in Microsoft Dynamics AX Enterprise Portal Administration Guide). But still the Customers site was loading very long and in the end we got blank page.

In SharePoint logs (look also into View diagnostic logs (SharePoint Server 2010)) we could find error that we get time out:

11/19/2010 18:38:25.90 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://server/sites/DynamicsAx/Sales....aspx?WCMP=ceu) 6a3198da-7ccb-46e1-a636-b356c8fd9d6d
11/19/2010 18:38:25.91 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/sites/DynamicsAx
6a3198da-7ccb-46e1-a636-b356c8fd9d6d 11/19/2010 18:38:25.91 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=8.01777879590842 6a3198da-7ccb-46e1-a636-b356c8fd9d6d
11/19/2010 18:38:26.02 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (WebPageTitleWebPart). Execution Time=110.600648965162 6a3198da-7ccb-46e1-a636-b356c8fd9d6d
11/19/2010 18:38:27.39 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (AxUserControlWebPart). Execution Time=1351.28235571839 6a3198da-7ccb-46e1-a636-b356c8fd9d6d
11/19/2010 18:38:28.52 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Add WebParts). Execution Time=2622.62466319043 6a3198da-7ccb-46e1-a636-b356c8fd9d6d
11/19/2010 18:41:13.95 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Runtime tkau Unexpected System.Web.HttpException: Request timed out. 6a3198da-7ccb-46e1-a636-b356c8fd9d6d 11/19/2010
18:41:13.95 w3wp.exe (0x0EA8) 0x0A38 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://server/sites/DynamicsAx/Sales....aspx?WCMP=ceu)). Execution Time=169685.486842602 6a3198da-7ccb-46e1-a636-b356c8fd9d6d




The issue was solved when user was added to Local Administrator group on SharePoint 2010 server. Of course such a solution is no solution as you cannot add all Enterprise Portal users to local admin group. But this gave us the an idea that it could be something with security settings and problems with accessing resources. We decided to do following steps:

1. Use Process Monitor Download Process Monitor http://technet.microsoft.com/en-us/s.../bb896645.aspx

2. Run it on IIS Web server

3. Replicate the problem We fond out that user had no access to temporary directory

3:50:21.7602870 AM w3wp.exe 4136 CreateFile C:\Users\TEMP\AppData\Local\Temp\$tmp000d02ea.$$$ ACCESS DENIED Desired Access: Generic Read/Write, Delete, Disposition: OpenIf, Options: Synchronous IO Non-Alert, Non-Directory File, Random Access, Delete On Close, Attributes: N, ShareMode: Delete, AllocationSize: 0, Impersonating: Domain\user
 

After adding the rights for user into folder C:\Users\TEMP\AppData\Local\Temp\ it worked fine on this environment  on the other environment we have to give access to different path.

The solution in the end is following.

The issue is happening because of Setup issue of Dynamics AX 2009. We need to set global environmental path should be defined for temporary files for Dynamics Ax:

1. Go to Environmental Variables window

2. Create AXTMP or AXTEMP and give the path and full permission to that folder path.

3. Because both are not defined, it is going to TEMP, which has value %USERPROFILE%\AppData\Local\Temp, so it is trying to create temporary file in temp folder of Admin, where SP is running, where Non-Admin user does not have access. So we need to define the temp environmental variables and define the path for temporary files for Dynamics Ax, we need to give FULL permission to this folder for all EP users.

--author: Czesława Langowska --editor: Czesława Langowska --date: 2206-12-2010




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Unable to deploy AX 2009 Enterprise Portal on SharePoint 2010 even after patching setup files with hotfix 2278963 Blog bot DAX Blogs 0 08.12.2010 03:14
emeadaxsupport: Error "Cannot access a disposed object" when deploying AX 2009 Enterprise Portal on a SharePoint 2010 server Blog bot DAX Blogs 0 01.10.2010 20:05
emeadaxsupport: Resolving some issues you may experience when creating an AX 2009 Role Center and Enterprise Portal Site using SharePoint Server/Foundation 2010 after installing Microsoft Dynamics AX 2009 SP1 hotfix 2278963 Blog bot DAX Blogs 1 24.09.2010 11:34
Muhammad Ali Khan: Relating/Connecting MS CRM 4.0 Data With Custom External Content Type Data In SharePoint 2010 Blog bot Dynamics CRM: Blogs 0 04.02.2010 13:05
Muhammad Ali Khan: Using Business Connectivity Services(BCS) In SharePoint 2010 For Connecting To MS CRM 4.0 Blog bot Dynamics CRM: Blogs 0 25.01.2010 01:08

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

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

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