Recently we run into some problems while we wanted to install AX 2009 on an stand alone server.

The OS is Windows 2003 SP2
The SQL Server is: SQL 2008

We have installed:
  • .Net Frame work: 2.0, 3.5 SP1
  • IIS 6.0
  • SQL Server 2008
  • Visual Studio 2008 Shell (isolated mode)
  • Windows SDK for Windows Server 2003 R2

We have also already patched the following dll:
Microsoft.Dynamics.Setup.ReportingServices.dll (using the SP1 version of this dll).

But we got the following error when trying to deploy the Report Projects to the reporting services.

Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information.
Error: The following components have not been installed or are not configured correctly:
AL.exe
Please consult your administrator or the documentation.
System.InvalidOperationException: The following components have not been installed or are not configured correctly:
AL.exe
Please consult your administrator or the documentation.
The entire message was:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at ClrBridgeImpl.GetTypes(ClrBridgeImpl* , Char* assemblyName, Boolean* isException) Error: The following components have not been installed or are not configured correctly: AL.exe Please consult your administrator or the documentation. System.InvalidOperationException: The following components have not been installed or are not configured correctly: AL.exe Please consult your administrator or the documentation. at Microsoft.Dynamics.Framework.Deployment.Reports.InstalledComponents.ThrowComponentsNotInstalled(String[] componentNames) at Microsoft.Dynamics.Framework.Deployment.Reports.InstalledComponents.VerifyAlAndDslToolsAreInstalled() at Microsoft.Dynamics.Framework.Deployment.Reports.ExportOperations.BuildProjects(IEnumerable`1 projectPaths, DeploymentLogger logger, List`1& reportLibraries) at Microsoft.Dynamics.Framework.ReportsDeployment.DeploymentForm.<>c__DisplayClassc.b__7(Object , DoWorkEventArgs ) at Microsoft.Dynamics.Framework.ReportsDeployment.DeploymentForm.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) The deployment log file can be found at "C:\Documents and Settings\myname\Local Settings\Temp\1\tmpE4.txt"

We then found out that still not all required components were installed.
We were still missing Redistributable Package on our instance.

According to installation guide: AXInstallationGuide.pdf (page 63):

after you install:
Microsoft Visual Studio 2008 Shell (isolated mode) Redistributable Package you should install the shell (step 2):

Part 2: Install the shell
After you install the redistributable package, you must install the shell. Complete the following steps to install the shell.

  1. On the computer's hard drive, locate the VS 2008 Shell Redist\Isolated Mode folder.
  2. Double-click the .exe file located in that folder. For example, if you installed the US English version of the redistributable package, double-click the vs_shell_isolated.enu.exe file.
  3. Follow the directions in the Microsoft Visual Studio 2008 Shell (isolated mode) wizard to complete the installation Please remember that no matter what operating system you are using you should install as well: Windows SDK for Windows Server 2008 and .NET Framework 3.5

The problem can be solved by ensuring you install all the pre-requisites in the order given as per the installation guide.