7021546: Web Builder Error “Failed to exec adsutil”

This document (7021546) is provided subject to the disclaimer at the end of this document.

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:InetpubAdminScriptsadsutil.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 Technical Note 10124.
  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

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

Related:

How to Redirect Web Interface on NetScaler with Rewrite

This article describes how to append the full site path by using the rewrite feature to access the Web Interface site when creating a Web Interface Load Balancing server.

Background

When Web Interface is on Windows or IIS, the Web Interface Load Balancing server sends the default IIS site information. This can be an issue if the Web Interface site used is not the default IIS site.

When Web Interface on NetScaler is used, there is no option to define a default Web site and you receive an “Invalid Path” error. If you are using the Web Interface on IIS/Windows or the NetScaler appliance, to access a Web Interface site through a Load Balancing Virtual Server you might require a rewrite policy to add the full site path.

Related:

Event ID 7003 — IIS Protocol Adapter Availability

Event ID 7003 — IIS Protocol Adapter Availability

Updated: January 20, 2010

Applies To: Windows Server 2008

An Internet Information Services (IIS) Web server responds to requests on a given protocol by using a listener adapter. The protocol-specific listener adapter communicates with the Windows Process Activation Service (WAS) by means of a protocol adapter. If an error occurs when WAS communicates with the listener adapter through the protocol adapter, the Web server may be unable to respond to requests on the given protocol.

Event Details

Product: Internet Information Services
ID: 7003
Source: Microsoft-Windows-WAS-ListenerAdapter
Version: 7.0
Symbolic Name: WAS_LA_CONNECTED_TO_WAS
Message: Listener Adapter protocol ‘%1’ successfully connected to Windows Process Activation Service.

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Protocol Adapter Availability

Internet Information Services (IIS) 7.0

Related:

Event ID 5197 — IIS Worker Process Dynamic Idle

Event ID 5197 — IIS Worker Process Dynamic Idle

Updated: January 20, 2010

Applies To: Windows Server 2008

The Internet Information Services (IIS) Worker Process Activation Service (WAS) can dynamically adjust the idle time-out of worker processes based on current load. You can specify the maximum number of worker processes that can run concurrently on a Web server. If the maximum number is reached and dynamic idle is enabled, WAS dynamically reduces the idle time-out. This could allow new worker processes to start sooner and prevent the Web server from becoming unresponsive.

Event Details

Product: Internet Information Services
ID: 5197
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_TURNING_OFF_DYNAMIC_IDLE_INFO
Message: The dynamic idle has been disabled in configuration. The Windows Process Activation Service (WAS) will return worker process idle timeouts to their configured settings.

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Worker Process Dynamic Idle

Internet Information Services (IIS) 7.0

Related:

Event ID 5185 — IIS Web Site Availability

Event ID 5185 — IIS Web Site Availability

Updated: March 24, 2009

Applies To: Windows Server 2008 R2

Internet Information Services (IIS) Web sites that use HTTP rely on several important IIS components for their availability. The Windows Process Activation Service (WAS), the World Wide Publishing Service (W3SVC), the HTTP service, all must be running correctly. In addition, a properly running application pool must be available for the Web site’s applications. If any of these components is not functioning, the Web site will not be available.

Event Details

Product: Internet Information Services
ID: 5185
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_SITE_CREATE_SUCCEEDED
Message: The Windows Process Activation Service recovered from a previous error creating site ‘%1’. See previously logged event(s).

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Web Site Availability

Internet Information Services (IIS) 7.5

Related:

Event ID 5082 — IIS Application Pool Availability

Event ID 5082 — IIS Application Pool Availability

Updated: March 24, 2009

Applies To: Windows Server 2008 R2

Web sites and Web applications depend on the availability of Internet Information Services (IIS) application pools. IIS application pools in turn depend on the Windows Process Activation Service (WAS). If WAS is not running or errors occur during the startup or shutdown of an application pool, Web sites and Web applications may not be available.

Event Details

Product: Internet Information Services
ID: 5082
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_IGNORING_WP_FAILURE_DUE_TO_DEBUGGER
Message: A worker process with pid ‘%2’ that serves application pool ‘%1’ has been determined to be unhealthy (see previous event log message), but because a debugger is attached to it, the Windows Process Activation Service will ignore the error.

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Application Pool Availability

Internet Information Services (IIS) 7.5

Related:

Event ID 5081 — IIS Application Pool Recycling

Event ID 5081 — IIS Application Pool Recycling

Updated: January 20, 2010

Applies To: Windows Server 2008

Internet Information Services (IIS) application pools can be periodically recycled to avoid unstable states that can lead to application crashes, hangs, or memory leaks. By default, application pool recycling is overlapped, which means that the worker process that is to be shut down is kept running until after a new worker process is started. After a new worker process starts, new requests are passed to it. The old worker process shuts down after it finishes processing its existing requests, or after a configured time-out, whichever comes first. This way of recycling ensures uninterrupted service to clients. However, if an application in the application pool cannot run more than one instance of itself at a time, overlapping rotation can be disabled.

Event Details

Product: Internet Information Services
ID: 5081
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_RECYCLE_POOL_RECOVERY
Message: The worker processes serving application pool ‘%1’ are being recycled due to detected problems with the IIS configuration store that may make current cached metadata invalid.

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Application Pool Recycling

Internet Information Services (IIS) 7.0

Related:

Event ID 5079 — IIS Application Pool Recycling

Event ID 5079 — IIS Application Pool Recycling

Updated: January 20, 2010

Applies To: Windows Server 2008

Internet Information Services (IIS) application pools can be periodically recycled to avoid unstable states that can lead to application crashes, hangs, or memory leaks. By default, application pool recycling is overlapped, which means that the worker process that is to be shut down is kept running until after a new worker process is started. After a new worker process starts, new requests are passed to it. The old worker process shuts down after it finishes processing its existing requests, or after a configured time-out, whichever comes first. This way of recycling ensures uninterrupted service to clients. However, if an application in the application pool cannot run more than one instance of itself at a time, overlapping rotation can be disabled.

Event Details

Product: Internet Information Services
ID: 5079
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_RECYCLE_POOL_ADMIN_REQUESTED
Message: An administrator has requested a recycle of all worker processes in application pool ‘%1’.

Resolve

This is a normal condition. No further action is required.

Related Management Information

IIS Application Pool Recycling

Internet Information Services (IIS) 7.0

Related: