Article ID: 6346, created on May 15, 2009, last review on May 7, 2014

  • Applies to:
  • Helm 4

Affected versions

Parallels Helm 4.1.0, 4.1.1

Symptoms

Bandwidth collection does not work for IIS7 provider and error log file contains the following error messages:

<entry date='633778992110952910' utc_offset='-7' assembly='WHA.Helm.Providers.IIS7.dll' source='IIS7Provider' method='Failed'>System.ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at WHA.Helm.Providers.IIS7Provider.BandwidthUsage(ProviderData CommandData)</entry>

 

Description

The problem occurs if value of "Web Files Folder Name" IIS7 web service property is other than "wwwroot" (which is default) since Helm tries to search HTTP log files basing on "wwwroot" directory.

Workaround

Only for Parallels Helm v.4.1.1 (Parallels Helm, Version 4.1.1.3373 )

1. Put  "Helm4.1.1_SubdomainsFix.exe" patch file into the Helm folder  (usually  "C:\Program Files\Parallels\Helm4")
2. Stop all Helm services via (HelmConfigurationTool.exe)  and stop IIS by typing in command prompt : > iisreset  /stop
3. Execute "Helm4.1.1_SubdomainsFix.exe" patch and confirm files overwriting.
4. Restart IIS by typing in command prompt : >  iisreset  /restart
5. Start all Helm services via (HelmConfigurationTool.exe)
6. If you want to use Python , set in the IIS7 service provider Python Path:* like following :
   c:\python24\python.exe "%s" "%s"

Attachments

0331e0e4efc12686c3f22fc2cdda9f03 152090ff5e9a05ea7e1cf0c248449638 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF