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
Default Web Site
C:\Inetpub\wwwroot
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.
<site name="Default Web Site" id="1">