Thursday, November 5, 2009

Issue with installing AX2009 Reporting Extensions on Windows Server 2008 R2 and workaround

Hello all

I just came across an issue where the partner was trying to install Reporting Extensions on a Windows Server 2008 R2 Standard edition, and it fails during the installation of the pre-req IIS components, the error we get is:

[ServerManagerCmd] Error (Id=0) ArgumentNotValid: Feature not valid: 'NET-XPS-Viewer'. The name of the feature was not found.


AX setup uses the following file from the installation media/source \Support\ServerManagerCmdInputIIS.xml to install IIS components and it indeed does have a feature listed


However if you run the command, “servermanagercmd –query”, you will find that on Windows 2008 R2 this feature does not exist, it has been renamed to “XPS-Viewer” (on Windows 2008 it was indeed called “NET-XPS-Viewer”



We were able to workaround the issue by editing the ServerManagerCmdInputIIS.xml, and installation does proceed and complete.


On the partners system there was NO Role Centers and Enterprise Portal (EP) installed although they did have IIS installed but with partial components. The issue only manifests if AX Setup determines it needs to install IIS components if it finds one of them missing or if IIS is not installed at all.

As you can guess the question that was next raised is that is this a known issue and is it issue documented anywhere by any chance? Was it picked up as part of the validation of Windows 2008 R2? Anyone else come across a similar issue? Why do we do a check for the XPS-Viewer feature? What AX extension uses that?

The issue is simple to replicate. Just remove the Web Server (IIS) Role Service and attempt installing the Reporting Extensions, it should fail with an error when it comes to installing the IIS components as per the attached screen shot and log files.

No comments:

How to identify the user that was used to change an object from AOT in AX2012

Get the object name for which we need to track these (user and date&time) information's. Login to SQL Server Management Studio an...