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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.01.2010, 04:44   #1  
Blog bot is offline
Blog bot
Участник
 
25,640 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX 2009 Setup fails to install IIS Components on Windows Server 2008 R2
Источник: http://blogs.msdn.com/emeadaxsupport...r-2008-r2.aspx
==============

This issue only affects users of Windows Server 2008 R2. One of the pre-reqs for installing Role Centers and Enterprise Portal and/or Reporting Extensions or Workflows is that you must have IIS installed locally on the server.

If this is not installed and/or is partially installed with some required IIS Role Services missing then during AX Setup, you will get prompted to install IIS Components as a pre-req.

Clicking on the button to install the pre-reqs, fires of a command that uses the servermanagercmd.exe on a Windows Server 2008 and above to install the IIS components. It uses the ServerManagerCmdInputIIS.xml file as the input file to the servermanagercmd command.

This works fine on a Windows Server 2008 system, and it will install the IIS components successfully (assuming you had the proper rights and priviledges), however it fails to install the components on a Windows Server 2008 R2. See the attached IISComponentsInstallationError.PNG file for the error that is displayed

Furthermore, the following error is logged in the IISInstall.Log file that is generated where the DynamicsSetupLog file is created:
[ServerManagerCmd] Error (Id=0) ArgumentNotValid: Feature not valid: 'NET-XPS-Viewer'. The name of the feature was not found.


The issue ocurs because within the ServerManagerCmdInputIIS.xml file there is a feature listed for installation called "NET-XPS-Viewer", this feature name has now changed to "XPS-Viewer" on Windows Server 2008 R2, and hence it fails to find the feature and installation aborts.


To workaround the issue, browse to the folder where the AX 2009 setup files are copied to, then, edit the ServerManagerCmdInputIIS.xml file (which is located in the support folder) in notepad, and change the following line

from:

to:




Save the file and you should now be able to re-run AX 2009 setup, and install the IIS components during the pre-req installation phase.

Further Information:

You can also copy and run the following command between the quotes, in an elevated command prompt on Windows Server 2008 R2, to install all the IIS components that are required, prior to running the AX 2009 setup to achieve the same result:

"ServermanagerCMD -install Web-Static-Content Web-Default-Doc Web-Dir-Browsing Web-Http-Errors Web-Asp-Net Web-Net-Ext Web-ISAPI-Ext Web-ISAPI-Filter Web-Http-Logging Web-Request-Monitor Web-Filtering Web-Stat-Compression Web-Mgmt-Console Web-Metabase Web-WMI Web-Lgcy-Scripting Web-Lgcy-Mgmt-Console Web-Windows-Auth NET-Framework-Core XPS-Viewer RSAT-Web-Server WAS-Process-Model WAS-NET-Environment WAS-Config-APIs -logPath %TEMP%\IISInstall.log"




NOTE: The above command should be one single command without any carriage returns or line feeds. Check the log file in IISInstall.log for the installation status.



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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
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
AX UK: Microsoft Dynamics AX 4.0 and Dynamics AX 2009 are compatible with Microsoft Windows 7 and Microsoft Windows Server 2008 R2 Blog bot DAX Blogs 0 29.09.2009 03:08
emeadaxsupport: Debugging non-interactive X++ code in Dynamics AX 2009 when running on Windows Server 2008 Blog bot DAX Blogs 0 23.09.2009 13:05
Dynamics AX Sustained Engineering: Microsoft Dynamics AX 4.0 and AX 2009 are compatible with Microsoft Windows 7 and Microsoft Windows Server 2008 R2 Blog bot DAX Blogs 0 22.09.2009 04:06
jinx: Microsoft Dynamics AX 2009, Windows Server 2008 und SQL Server 2008 Blog bot DAX auf Deutsch 0 12.10.2008 20:10

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

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

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