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.
(Microsoft.BizTalk.Bam.CfgExtHelper.Utility)
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.
Hi Abdul.
This is also stated in the documentation here -> http://msdn.microsoft.com/en-us/library/aa560122(BTS.70).aspx
The cool thing that is NOT stated is that after configuring BAM, – if you run IIS 7.0 – you can just set the AppPool to run 32bit, and then you can set the IIS back to 64 bit but setting the Enable32bitAppOnWin64 back to 0. Thus you get the best of both worlds 🙂 They state that it is not needed on IIS 7, but that is not my experience.
Is a great job…Super