Web Builder Error "Failed to exec adsutil"

  • 7021546
  • 11-Sep-2008
  • 02-Mar-2018

Environment

Verastream Host Integrator version 7.0 or higher

Situation

When Verastream Host Integrator (VHI) Development Kit is installed on newer Windows platforms, and you attempt to generate a .NET web application in Web Builder, you may see the error "Failed to exec adsutil."

View Full Size
Figure 1. 'Failed to exec adsutil. Reason: Input Error: Can not find script file
Figure 1. 'Failed to exec adsutil. Reason: Input Error: Can not find script file "C:\Inetpub\AdminScripts\adsutil.vbs".'

Resolution

To enable IIS Adsutil.vbs, follow these steps:

  1. Click Start > Control Panel.
  2. Click Programs. Note: Skip this step if you are using Classic View.
  3. Open Programs and Features > Turn Windows features on or off. Note: If Windows User Account Control (UAC) enabled, administrative rights are required and a confirmation prompt is displayed.
  4. Expand Internet Information Services > Web Management Tools by clicking the "+" icons.
  5. Select the checkbox for IIS 6 Management Compatibility. The filled box indicates that the feature is partially enabled, which is sufficient; it is not necessary to select all subcomponents.
  6. To avoid other errors when building or running .NET web applications, ASP.NET should also be enabled (under Internet Information Services > World Wide Web Services > Application Development Features). For additional information, see KB 7021584.
  7. Click OK. The features are installed.
  8. When the installation is complete, re-deploy your .NET project. Note: If Windows User Account Control is enabled, you must run Web Builder version 7.0 and earlier as an administrator. (This is not necessary in version 7.1; the iisdeploy.exe utility will prompt you to run as administrator.)

Cause

Microsoft Windows 7, Windows Server 2008, and Windows Vista include version 7.5 or 7.0 of the Internet Information Services (IIS) web server. VHI Web Builder uses the IIS version 6.0 Adsutil.vbs administration utility to configure IIS to run your generated project. When using IIS version 7.x, "IIS 6 Management Compatibility" must be enabled for Adsutil.vbs to run.

Additional Information

Note: Beginning in VHI version 7.5, the HTML 5 Web Application project type, which is platform and technology independent, is available in Web Builder. The .NET and Java Web Application project types are still available but deprecated on the Legacy tab.

Legacy KB ID

This article was originally published as Attachmate Technical Note 10081.