Tallan Blog

Tallan’s Experts Share Their Knowledge on Technology, Trends and Solutions to Business Challenges

Failed to Validate BAM Portal Web Site (BAMPortal)

I have recently encountered an error while trying to reinstall BAM Tool and the BAM Portal on a Microsoft BizTalk Server 2013 installation.  I encountered the following error while attempting to configure the BAM Portal in the Microsoft BizTalk Server Configuration window.


The error specific error encountered when clicking on the red validation icon is:


Failed to validate BAM Portal Web Site (BAMPortal)

The BAM Portal website Default Web Site is not valid. (Microsoft.BizTalk.Bam.CfgExtHelper.PortalHelper)

Exception from HRESULT: 0x80005008 (System.DirectoryServices)

The usual culprit for this error is the “IIS 6 Management Compatibility” windows feature missing – However, this was not the case in this specific scenario, as the feature was already present.  In this specific case, since I was reinstalling the BAM Portal, the Microsoft BizTalk Server Configuration wizard did not completely uninstall the BAM Portal from IIS.  There were a few lingering pieces that have to be manually removed – Specifically the BAMManagementService and BAMQueryService IIS applications.

The solution is to manually remove those two IIS applications by following the following steps.

1.  Open IIS Manager and select your website, by default it is ‘Default Web Site’
2.  Click on ‘View Applications’ within the right hand ‘Actions’ panel.


3.  Remove BAMManagementService and BAMQueryService.


4.  Go back to the Microsoft BizTalk Server Configuration Window, uncheck ‘Enable BAM Portal’ and recheck ‘Enable BAM Portal’ to revalidate the settings.


5.  Apply the Configuration.


Learn more about Tallan or see us in person at one of our many Events!

Share this post:

13 Comments. Leave new

Fantastic post. Been scratching my head over this one for a while…

Thanks a ton for this tip. I tried in multiple iterations to restart IIS and ensure the 32 bit compatibility is still set. Only removing the BAM applications helped get rid of the validation error!

However at the end of the config I get a warning “Error configuring OLAP permissions on BAM databases…”. Now I am an admin and DBO on the box where SSAS is installed. Any pointers?

Second the thanks … I was head scratchin why my BAM was invalid


It was helpful tip , saved me some valuable time.

February 27, 2015 7:59 am

Thank you so much , it realy helped a lot :)


I am new to biztalk. I am istalling Biztalk 2013 on my virtual machine. When I am configuring biztalk 2013 on virtual machine which has windows 2012 server. But while configuring BAM portal I am getting eroor for Default Website. As per your given solution When I select view applications under Default Web Site in IIS, The list is empty.

Please help me ASAP.

Sriram Hariharan
May 27, 2015 7:40 am

Thanks for this hat-tip. Been scratching my head w.r.t. BAM and this exactly solved my problem

Hey monika – try installing the “IIS 6 Management Compatibility” role in windows server.

jyoti prakash
August 27, 2015 6:24 am

Nice Article that’s helps a lot while setting BAM, always check IIS features are installed too

Thanks a bunch!
This solved a problem I’ve been struggling with for days :-)

Akash ghosh
July 25, 2016 6:02 am

Informative article, It was helpful for me. Thanks for the post.

Suraj Revankar
August 27, 2016 3:02 pm

perfect solution. Thanks!

Thanks for this. It was helpful and timely.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>