An error occurred while attempting to install the BizTalk application: World Wide Web service (W3SVC) on host “localhost” not available

Today I encountered the following issue when I was trying to install an application into a new BizTalk Server environment:

An error occurred while attempting to install the BizTalk application: World Wide Web service (W3SVC) on host “localhost” not available.

The following Windows component may not be installed: Application Server -> Internet Information Services (IIS) -> Common Files.
Unknown error (0x80005000)
Unknown error (0x80005000)”

World Wide Web service not available

Note: This error occurred either if I try to install the application by or the MSI or by the BTSTask tool and this error is also followed by other two errors with no particular or interest information.

Cause

On a particular note, when I’m installing or configuring a new BizTalk environment I really prefer to install all features that BizTalk provides like BAM, BRE, … even though I don’t need them, at least for now, since we do not know the challenges of tomorrow and I try to follow all the guidelines provided by Microsoft or community members.

However we sometimes find clients that don’t install all components simply because they don’t need them for now, or even worse, they don’t install all the features necessary like IIS 6 Management Compatibility role services because for them it makes no sense

The problem this time was that IIS 6 Management Compatibility role services were not installed.

The Deployment Framework for BizTalk includes support for deploying application pools and virtual directories in IIS.  Virtual directory and application pool deployment is fully active for server deployments.

Due to IIS 7.0/7.5 includes a significant change in the configuration system, on Windows Server 2008 and above, we need to enable IIS 6 Management Compatibility role services: IIS Metabase and IIS 6 configuration compatibility, IIS 6 WMI Compatibility and IIS 6 Scripting Tools to allow System.DirectoryServices code work on modifying IIS configurations on IIS7.x.

This topic is clearly documented in BizTalk 2010 installation guides.

Solution 1

To solve this problem you must enable IIS 6 Management Compatibility role services by following the steps below:

  • Go to Administrative Tools à Server Manager
  • Select “Roles” and under “Web Server (IIS)” select “Add Role Services”
  • On the “Select Role Services” window, check the box next to “IIS 6 Management Compatibility”. Make sure you checked all four options below it.
IIS Select Roles Services

Note: After these steps, you need to restart the ISS.

Solution 2

In alternative you can install these features by using PowerShell:

 Import-Module ServerManager
 @("Web-Server",
 "Web-Http-Errors",
 "Web-App-Dev",
 "Web-Asp-Net",
 "Web-Net-Ext",
 "Web-ASP",
 "Web-CGI",
 "Web-ISAPI-Ext",
 "Web-ISAPI-Filter",
 "Web-Includes",
 "Web-Basic-Auth",
 "Web-Windows-Auth",
 "Web-Mgmt-Compat",
 "Web-Metabase",
 "Web-WMI",
 "Web-Lgcy-Scripting",
 "Web-Lgcy-Mgmt-Console"
 )| Add-WindowsFeature
 

Download

You can download this PowerShell script from:

Enable all the requires IIS features for BizTalk Server with PowerShell
Microsoft | TechNet Gallery

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

1 thought on “An error occurred while attempting to install the BizTalk application: World Wide Web service (W3SVC) on host “localhost” not available”

Leave a Reply

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

turbo360

Back to Top