Affected versions
Parallels Helm 4.1.0, 4.1.1Symptoms
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"