A "Failed while processing WebVirtualDirs. (-2147024894)" Error Occurs When Installing Web Access 8.2 or WebLink 8.2.

November 14, 2011 | KB: 1012861
Web Access 8.2, WebLink 8.2

Summary

When installing Web Access 8.2 or WebLink 8.2, you may receive the following error message:

    Failed while processing WebVirtualDirs. (-2147024894)

Cause

By default, Web Access and WebLink are installed under the IIS "Default Web Site" with ID 1. The installations also contain logic such that if there is no Web Site in IIS with ID 1, the installation will check for a site that contains a binding on port 80. If there is no site on port 80, the installations then attempt to use the first Web site listed in IIS. In certain IIS configurations where there is no "Default Web Site," the installations may be unable to automatically detect and install under another Web site.

Workaround

Recreate a "Default Web Site" with ID 1 in IIS.

IIS 7

  1. Click Start, point to Administrative Tools, and click Internet Information Services (IIS) Manager.
  2. Select Sites.
  3. In the Actions pane, click Add Web Site.
  4. Under the Site name option, type:
  5. Default Web Site

  6. Under the Physical path option, type:
  7. C:\Inetpub\wwwroot

  8. Click OK to create the new Web Site.

If there is no existing Web Site with ID 1, IIS may automatically create the new site with ID 1. You can view the ID by selecting the Sites item in IIS manager and checking the value in the ID column for a Web Site. If The newly recreated "Default Web Site" is not ID 1, manually modify the IIS applicationHost.config file.

  1. As a user with administrative rights, browse to "C:\Windows\System32\inetsrv\config" and open the applicationHost.config file.
  2. Locate the <sites> block.
  3. Find the newly created "Default Web Site" and change the id to 1. The final result should look similar to the following:
  4. <site name="Default Web Site" id="1">

  5. Save applicationHost.config.