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