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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.08.2010, 17:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Error "Unable to render content due to an error" when editing Timesheet
Источник: http://blogs.msdn.com/b/emeadaxsuppo...timesheet.aspx
==============

Some time ago I run into error while editing Project Time Management Timesheet in Enterprise Portal. Error was very annoying, as when I wanted create the line for timesheet the blank page appear with info:

“Unable to render content due to an error. Please contact your system administrator."
 
Nothing in event log on AOS server and on Enterprise Portal server as well. As I was system administrator I needed to troubleshoot problem on myself.

It happens that error can occurs in two situations:

I. If for each timesheet you get this error then it can be that timesheet periods are not generated for period assign to employee. To check it:

   1. In Basic > Common Forms > Employee Details

   2. Select employee who has problem. On Setup tab in field ‘Period code’ you can see to which period employee is assigned.

   3. In Basic > Setup > Calendar > Periods select the period found in 2nd point.

   4. Click on button ‘Show timesheet periods’ are there period created for current date? If not you need to generate or update timesheet periods

II. If for some timesheet it works fine and for the other you get error then probably timesheet periods are generated correctly and you are having different problem. In my case I got error when I tried to create line for timesheet 09.06.10 – 15.06.10

   After some investigation we found out that timesheet fail when creating a new line if there is a mismatch between the WSS and Dynamics AX business connector account regional settings. We need for BC proxy account's regional setting and that of the site in EP to match, otherwise when passing through dates from Data Sets\TSTimesheetEditLines\Methods\setTimesheetPeriod() there will be a failure.

   So to solve the problem you just need to know to which regional settings change WSS site.

   WSS regional settings should be the same as locale for default user under registry key: HKEY_USER\.DEFAULT on IIS machine if bc proxy account does not have user account on IIS server.

    If bc proxy account does have the user account on IIS server (at least once you logged into server using bc proxy account) then it should match bc proxy account regional settings. You can just log again to IIS server as bc proxy and check what exactly regional settings this user has assigned.

   To change regional settings in WSS site

   1. Log in to EP using administrator or site owner

    2. Go to Employee Services > Manage timesheets > Create or edit timesheet - The URL in the browser should be at http://SiteName/EmployeeServices/Man...sheetEdit.aspx...

    3. Select Site Actions > Site Settings > Regional Settings

    4. Under the ‘Locale’ setting, select correct regional settings

    5. Click ‘OK’ to apply

After those points you should not get error anymore

--author: Czesława Langowska --editor: Czesława Langowska --date: 06/Aug/2010




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Unable to validate workflow URL in AX 2009 - Get the following error: The request failed with HTTP status 405: Method Not Allowed Blog bot DAX Blogs 0 07.07.2010 23:05
emeadaxsupport: Unable to edit the DCOM settings for IIS WAMREG admin service on a Windows Server 2008 R2 when trying to configure Kerberos Authentication for Role Centers Blog bot DAX Blogs 0 27.01.2010 02:08
emeadaxsupport: Unable to validate the AX 2009 Workflow Webservice URL on a Windows Server 2008 R2 x64 Blog bot DAX Blogs 0 05.01.2010 19:16
emeadaxsupport: Unable to install Dynamics AX 2009 Analysis extensions when the default SQL Server Analysis Server collation is set to Turkish_CI_AS or Turkish_CS_AS Blog bot DAX Blogs 0 22.09.2009 04:06
Мелкомягкий CRM: Панель управления для MS CRM с помощью Reporting Services Blog bot Dynamics CRM: Blogs 1 24.08.2009 14:41
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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