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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.07.2009, 15:07   #1  
Blog bot is offline
Blog bot
Участник
 
25,607 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AxUpdatePortal.exe does not update Enterprise Portal when not running from an elevated command prompt
Источник: http://blogs.msdn.com/emeadaxsupport...nd-prompt.aspx
==============

One of the nice features added with Dynamics AX 2009 is the support for 64bit (x64) for the Dynamics AX 2009 Application Object Server and the Dynamics AX 2009 .NET Business Connector.

The fact that the Dynamics AX 2009 Client is however still only available as 32bit (x86) application introduces an issue when Enterprise Portal needs to be updated. The existing post Updating Enterprise Portal from Dynamics AX 2009 Client fails on a 64bit Microsoft Windows Server talks about this in greater detail.

Therefore the command line utility AxUpdatePortal.exe was created. As the post also outlines it is very important to run AxUpdatePortal.exe from an elevated command prompt, and unfortunately the tool does not check if it is running in such.

When you forget to execute AxUpdatePortal.exe from an elevated command prompt, you will notice nothing unusual, a short log file is generated and lists success. However the Enterprise Portal Web Site was actually not updated!


When AxUpdatePortal.exe is not running in an elevated context (with User Account Control being enabled), the utility does not have the needed rights to update all parts of the Enterprise Portal SharePoint web application. So the axwebparts.cab SharePoint Solution will be retracted (as the rights for this operation are given) but not redeployed. Without this SharePoint Solution important Enterprise Portal web parts are missing and the Enterprise Portal site is generating error messages when browsing to it.

Side note:
Dynamics AX uses the deployment state of the axwebparts.cab SharePoint solution to a SharePoint web application as indicator for a valid Enterprise Portal site. If axwebparts.cab was not deployed AxUpdatePortal.exe does not recognize any valid Enterprise Portal sites in which to deploy to and so the log file is very short. Also subsequent tries running AxUpdatePortal.exe in an elevated context will fail now as long as the SharePoint Solution is not redeployed.


Once the SharePoint Solution is retracted it can only be manually redeployed e. g. from the SharePoint Central Administration site:
  1. Log on at the Enterprise Portal Server
  2. Select Start - Administrative Tools - SharePoint 3.0 Central Administration
  3. Click on the Operations tab
  4. Click at the Solution Management link of the Global Configuration group
  5. Click at the axwebparts.cab solution (this SharePoint solution is only showing up if Enterprise Portal was at least once successfully deployed)
  6. Click at the Deploy Solution button
  7. In the group Deploy When select Now
  8. In the group Deploy To make sure you have chosen your Enterprise Portal site
  9. Make also sure you have selected Install assemblies to: Global assembly cache to deploy the solution correctly
  10. Click at the OK button
  11. Wait until the deployment finished (if you have more than one Enterpriese Portal site, repeat the steps 5 to 11 for each site)


Источник: http://blogs.msdn.com/emeadaxsupport...nd-prompt.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
За это сообщение автора поблагодарили: Logger (1).
Теги
deploy, enterprise portal, ep, sharepoint

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdynamicsax: Unable to debug Enterprise Portal running on Windows Server 2008 Blog bot DAX Blogs 0 29.06.2009 19:05
Solutions Monkey: Microsofty Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks - 1 Blog bot DAX Blogs 0 26.06.2008 09:05
Solutions Monkey: Opening Enterprise Portal page in a new window from the Quick Launch Blog bot DAX Blogs 0 06.10.2007 06:51
Solutions Monkey: Enterprise Portal on WSS 3.0 – Ax32.exe.config Blog bot DAX Blogs 0 09.01.2007 22:51
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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