Tech Note 786 - Troubleshooting WIS Part One HTTP Error 500
Tech Note 786 - Troubleshooting WIS Part One HTTP Error 500
All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.
Topic#: 002567
Created: August 2011
Introduction
This troubleshooting guide is the first in a projected series.
HTTP Error 500 is a very common issue when you access the WIS 4.x Home Page.
In general, The HTTP Error 500 is a "server-side" error, meaning that the problem is not with your PC or your Internet connection.
Instead it is a problem with the web site's server. In WIS 4.x ‘s world, this could mean that something is wrong in COM+ settings, the
verification of SuiteVoyager Database connection, license verification, etc.
Application Versions
WIS 4.0 and later
Let's start by discussing HTTP Error 500 with real-world cases. Click the following links to read details about each case.
Because of security concerns, some companies' group policies require their users to change passwords periodically. However, changing
password in OS's User Manager does not apply the already-used password in the This user account of a COM+ Application. The
administrator of the Wonderware SuiteVoyager COM+ object needs to update the password manually (Figure 1 below).
To verify this condition, right-click the Application and click Start or Shutdown (Figure 2 below). An exception is generated (Figure
3 below).
Wonderware Tech Support has not discovered the root cause of this problem. However, the workaround is to reboot the WIS 4.x Server.
aaLic can be considered as a license provider. wwLic is a license consumer which controls WIS Portal access and provides information
for WIS License Manager.
Wonderware Tech Support has reviewed a number of cases with the HTTP Error 500 where the wwLic is not installed during WIS
Configuration.
Figure 4 (below) shows the WIS Services that should be installed by the Configurator.
One check point for this services installation issue is to verify the existence of the [C]:\Inetpub\Scripts directory. If this directory does
not exist, you can copy it and all its contained contents from your WIS 4.x installation disk at [CD Image\scripts].
Although Wonderware development is working on the root cause of this issue, one workaround provided by Wonderware Technical
Support is to download, extract and run the Service Installation utility.
file:///C|/inetpub/wwwroot/t002567/t002567.htm[9/8/2011 7:58:36 AM]
Troubleshooting Wonderware Information Server (WIS)
You can use this utility on the WIS Server machine to install the services mentioned in the Figure 4 (above) one service at-a-time
(Figuer 5 below). After installation, refresh the Services list (Figure 4) and you should see the three WIS services have been started.
If the computer name on which the SuiteVoyager database is located is changed after WIS 4.x has been configured successfully, you will
see HTTP Error 500 when you try to access WIS 4.x Home page again.
Because of security rule in some customers' environments, the Parent-Path is disabled on the [Wonderware] virtual directory. This is also
one of the root causes of HTTP error 500.
In fact, enabling Parent-Paths option at the Default Web Site root may create a security risk, since it could allow someone to access
files outside the root websites directory. However, in WIS 4.x, we enable the Parent-Paths option at the Wonderware level and set the
Execute Permission as Script only. Enabling this option at this level should not create a Security Risk.
Figures 6-11 (below) show how to enable Parent-Paths in IIS 6.0 and IIS 7.x.
FiGuRe 8: DouBle -Click ASP to Check the PaRent -Paths in IIS 7.0
FiGuRe 10: DouBle -Click HandleR MappinGs to check the EXecution PeRmission
FiGuRe 11: Click Edit FeatuRe PeRmissions and Make SuRe the DialoG is Set CoRRectlY
If you are experiencing this issue, you will see the HTTP Error 500.19 - Internal Server Error accompanied by the following error in the
SMC Logger:
Cannot add duplicate collection entry of type add with unique key attribute name set to xoml-ISAPI-2.0 Config File
c:\inetpub\wwwroot\Wonderwware\web.config
1. To resolve this issue, edit the web.config file (using Notepad) located at C:\inetpub\wwwroot\Wonderware\ and delete the
two ISAPI lines you see under <handlers accessPolicy="Read, Script"> .
References
Tech Note 790 Troubleshooting Wonderware Information Server (WIS) Part Two: Factory Alarms
Tech Note 794 Troubleshooting Wonderware Information Server (WIS) Part Three: Workarounds for Factory Alarms
Issues in Windows Server 2008
Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also
technical information on our software products at Wonderware Technical Support.
Back to top
©2011 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc.
Terms of Use.