BAM Portal Configuration Error
July 7, 2010 2 Comments
When configuring the BAM portal on a x64 Environment I got this error and I had this previously but somehow forgot what was the fix.
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 = 0x80040154
The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.
To run the 32-Bit version of ASP.NET run the following command
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
You can find the commands on this KB article. After running the command set the Enable 32-Bit mode property to true of the application pool under which the BAM applications are running.