Sign In
Microsoft Dynamics AX Technical Support Blog
All postings are provided "AS IS" with no warranties, and confers no rights. See terms at http://www.microsoft.com/info/copyright.htm!
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET
AIF
Analysis Services
AOS
AOT
AX 2009
AX 4.0
AX2012
Client
Configuration
Crash
Cube
Data
Deployment
Enterprise Portal
Installation
OLAP
Performance
Reporting
Role Center
Solution
SQL Server
Windows
Workflow
X++
Archive
Archives
January 2012
(1)
December 2011
(4)
November 2011
(4)
October 2011
(9)
September 2011
(10)
August 2011
(11)
July 2011
(5)
June 2011
(2)
May 2011
(5)
April 2011
(10)
March 2011
(5)
February 2011
(9)
January 2011
(5)
December 2010
(9)
November 2010
(4)
October 2010
(5)
September 2010
(8)
August 2010
(5)
July 2010
(8)
June 2010
(5)
May 2010
(12)
April 2010
(3)
March 2010
(5)
February 2010
(5)
January 2010
(14)
December 2009
(4)
November 2009
(1)
October 2009
(7)
September 2009
(6)
August 2009
(3)
July 2009
(15)
June 2009
(14)
May 2009
(16)
April 2009
(28)
March 2009
(1)
November 2008
(5)
October 2008
(4)
AX 2009 Setup fails to install IIS Components on Windows Server 2008 R2
MSDN Blogs
>
Microsoft Dynamics AX Technical Support Blog
>
AX 2009 Setup fails to install IIS Components on Windows Server 2008 R2
AX 2009 Setup fails to install IIS Components on Windows Server 2008 R2
Rate This
EMEADAXSupport
11 Jan 2010 10:13 AM
Comments
5
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:
<Feature Id="NET-XPS-Viewer" />
to:
<Feature Id="XPS-Viewer" />
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.
--author:
Anup Shah
--editor:
Anup Shah
--date:
11/Jan/2010
Attachment:
IISComponentsInstallationError.PNG
5 Comments
Enterprise Portal
,
Reporting
,
AX 2009
,
Solution
,
Workflow
,
Deployment
,
Installation
,
Win2008R2
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 2 and 3 and type the answer here:
Post