Configuration Error – BAM Portal

When configuring the BAM portal on a x64 Environment you may receive the following error:

Start registering ASP.NET scriptmap (2.0.50727) at W3SVC/2/Root/BAM.
Error when validating the IIS path (W3SVC/2/Root/BAM). Error code = 0×80040154
The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.

To enable the 32-Bit version of ASP.NET run the following command

cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1


You can edit the application pool and change the “Enable 32-Bit Applications” flag to True on the Application Pools for BAM.

There is also a KB article on this.

Leave a Reply