Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data

Similar documents
Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

Tech Note 1010 SQL Server Authentication and ArchestrA Network Account Restrictions When Installing Wonderware Historian

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Introduction. Symbol Script Timeout Setting. Sample MES Custom Code in Symbol Script. Application Versions. Sample Code

Tech Note 920 Resolving Disabled ActiveFactory Reporting Website for Wonderware System Platform R2

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

Introduction. Back Up the Runtime Database. Application Versions

Introduction. Issues. Symptoms. Application Versions. Case 1: Deploy an ArchestrA Object - UDO4DevUsers_001_001 - Has Error Messages

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 813 Troubleshooting Wonderware Information Server (WIS) Part Four: Client License Release

This tech note will explain how to use the following parameters in Configurator General Parameters.

Introduction. Tech Note 884 Setting Up Historian Servers for Tier-2 Summary Replication

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

Industrial Application Server Redundancy: Troubleshooting Guidelines

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

This Tech Note provides step-by-step procedures to install Microsoft SQL Server 2012 on a 32- or 64-bit Operating System.

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

8/22/13 Configuring Windows SharePoint Services for PEM v1.0 to Work with SuiteVoyager v2.6

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Migrating QI 8.0 Admin and Process Databases from Microsoft Access to Microsoft SQL Server

Tech Note 612 Upgrading DLL Version Mismatches Between CBM Solution and System Platform

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

How To Write A Summary On A Historyorian Server

1. Under Application Objects, open the $Tank object and then open the $TankDisplay as shown in Figure 1 (below).

Tech Note 1042 Solving Historian Memory Issue with SQL Server MemToLeave Configuration

Introduction. Configuration: Entity and OCO Modeling. Application Version: OCO General Configuration

Note: Not all messages in the log are indicative of a problem. Contact Technical Support if questions arise.

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server.

How To Migrate Qi Analyst To A New Database On A Microsoft Access (Windows) From A New Version Of Qi.Io To A Newer Version Of A New Qi 8.0 (Windows 7.3

Communication to End Device Going In and Out of Slow Poll Mode

Introduction. Application Versions. Compatibility and System Requirements. Firewall and DCOM Settings

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

This Tech Note provides detailed guidelines and options for defragmenting and maintaining your production databases.

Using Network Application Development (NAD) with InTouch

Part I: Setting up Bristol Babcock's OPC Server

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

Tech Note 652 Changing an ArchestrA Symbol's Custom Property Expression or Reference in Runtime

Tech Note 957 Creating Custom Password Entry on Intermec-Supported Handhelds

Tech Note 912 Using Alternate TCP Port Numbers with Modbus Ethernet DAServer

Ascend Interface Service Installation

BusinessObjects Enterprise XI Release 2

To allow SQL Server Agent to trigger when a report is executed, we need to provide a set of report group types.

Secure Agent Quick Start for Windows

8/22/13 Configuring the SST5136SD PCI Card Using the New SSTDHP IO Server V8.1 or the DASDHPlus Server

Windows SharePoint Services Installation Guide

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Tech Note 400 Configuring Remote Connections for Windows 2000/2003/XP

Implementing the system using these guidelines should improve your system performance for a large database while your database grows in size.

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

For Active Directory Installation Guide

This Tech Note describes modem connections using DAServers and provides some guidelines on how to make the modem connection work.

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

WatchDox SharePoint Beta Guide. Application Version 1.0.0

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Sitecore Security Hardening Guide

Mixed Authentication Setup

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

FTP, IIS, and Firewall Reference and Troubleshooting

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

OrgPublisher 11 Silverlight Configuration for Server 2003, IIS 6

Installation Guide. Novell Storage Manager for Active Directory. Novell Storage Manager for Active Directory Installation Guide

USER GUIDE WEB-BASED SYSTEM CONTROL APPLICATION. August 2014 Phone: Publication: , Rev. C

Active Directory Requirements and Setup

ecopy Connector for EMC Documentum

TIBCO Spotfire Metrics Prerequisites and Installation

CA Spectrum. Microsoft MOM and SCOM Integration Guide. Release 9.4

Installing Autodesk Vault Server 2012 on Small Business Server 2008

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Security Settings for Wonderware Products

Archive Attender Version 3.5

Project management integrated into Outlook

Project management integrated into Outlook

Microsoft Corporation. Project Server 2010 Installation Guide

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

Microsoft Dynamics GP SQL Server Reporting Services Guide

Adobe Acrobat 9 Deployment on Microsoft Windows Group Policy and the Active Directory service

SafeGuard Enterprise upgrade guide. Product version: 7

HOWTO: Installation of Microsoft Office SharePoint Server 2007

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Reference and Troubleshooting: FTP, IIS, and Firewall Information

User Document. Adobe Acrobat 7.0 for Microsoft Windows Group Policy Objects and Active Directory

Installation Manual v2.0.0

8/23/13 Configuring the Wonderware SECS-II/GEM Host Creator (SERIAL-RS232)

Sentinel Installation Guide

Administrator s Guide to deploying Engagement across multiple computers in a network using Microsoft Active Directory

FocusOPEN Deployment & Configuration Guide

Index Data Security in Microsoft Windows Environments for X1 Enterprise Search Suite

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Transcription:

Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data 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#: 002715 Created: December 2012 Introduction This troubleshooting guide is the sixth in a projected series. The ArchestrA Graphics Live-data mechanism in WIS is built up on Microsoft WCF (Windows Communication Foundation) Technology. The key components in the Live-data route are LMX Publisher and WCF Service Components. WCF Service Component: Live-data Engine which sits on WIS node. It handles all the business logic, such as Security verification for Writeback Establish the connections for each tags to each client session Push Live-data to the corresponding client session Handler Mapping between WIS and IIS LMX Publisher: sets up the connection to ArchestrA Lmx and subscribes tags for bi-directional data exchange. The following diagram shows the Livedata channel. FIGURE 1: LIVE-DATA CHANNEL DIAGRAM Note: AADataSvc is the pre-defined Virtual Directory. This is the entry point of WIS ArchestrA Graphics between IIS and IE clients. We will often use AADataSvc in this Tech Note. Application Versions WIS 4.0 and later Windows 2003 Server SP2 Windows 2008 Server or later Case Scenarios IIS Cannot Browse the Content File (.svc) Exposed by WIS WCF Service Missing.svc Path From IIS 6.0 or 7.x Handler Mappings Conflicting (Multiple) Endpoints AADataSvc Points to Wrong.NET Framework Applying HotFix Causes No Live-data Update SMC Log Flogs for Live-data Scenario: IIS Cannot Browse the Content File (.svc) Exposed by WIS WCF Service Like any WCF with IIS application, WIS ArchestrA Graphics also defines the SymbolDataService.svc file which contains some WCF-specific methods that can be accessed from WIS's ASP.Net pages or their code-behind under IIS 6.0 or 7.x. If this channel between WCF Service and IIS 6.0 or 7.x is working normally, you see the following when we send an access request from IE. https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 1/10

FIGURE 2: NORMAL BROWSING RESULT The following graphics (Figures 3 and 4 below) show browsing the SymbolDataService.svc file in IIS 6.0 and IIS 7.x. FIGURE 3: BROWSING AADATASVC FILE IN IIS 6.0 FIGURE 4: BROWSING AADATASVC IN IIS 7.X Possible reasons for not being able to see the normal browsing result: For some reason, there is no authentication selected in the AADataSvc virtual directory. If you browse the SymbolDataService.svc file you see the following message: https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 2/10

FIGURE 5: ERROR AFTER CLICKING THE BROWSE BUTTON Resolution IIS 6.0 and 7.x do not support Integrated Windows authentication by default. See the following graphics (Figures 6 and 7 below) to check settings. FIGURE 6: INTEGRATED WINDOWS AUTHENTICATION SETTING IN IIS 6.0 FIGURE 7: INTEGRATED WINDOWS AUTHENTICATION SETTING IN IIS 7.X In the IIS configuration file, the windowsauthentication element does not contain the NTLM value. https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 3/10

For IIS 6.0 1. Go to [C]:\WINDOWS\system32\inetsrv\. Make copy of MetaBase.xml. 2. Open MetaBase.xml and find out the value, Location ="/LM/W3SVC/1/ROOT" 3. Add the following line: NTAuthenticationProviders="Negotiate,NTLM" FIGURE 8: ADD NTAUTHENTICATIONPROVIDERS LINE 4. Save the changes. 5. Run cmd > IISReset. For IIS 7.x 1. Go to [C]:\Windows\System32\inetsrv\config\. Make copy of applicationhost.config. 2. Open applicationhost.config and find the section shown below. Make sure the values in red circle exist. FIGURE 9: APPLICATIONHOST.CONFIG FILE SECTION 3. You don't need to run IISReset. The change will take effect after the file is saved. Scenario: Missing.svc path from IIS 6.0 or 7.x Handler Mappings Before we can browse the SymbolDataService.svc, the.svc needs to be defined in Handler Mappings which map to the resources on the Web server and generate responses for requests. If.svc is not defined, the following error line appears in the output when you browse the SymbolDataService.svc file: %@ServiceHost language="c#" Debug="true" Service="ArchestrA.Visualization.WCFService.SymbolDataService" CodeBehind="SymbolDataService.svc.cs"% Resolution Task: Check the Application Pool that AADataSv c belongs to. For IIS7 This step is only necessary when you have IIS 7.x. IIS 6.0 only supports 32-bit Windows. 1. Right-click AADataSvc and click Manage Application/Advanced Settings. FIGURE 10: ADVANCED SETTINGS FOR APPLICATION 2. Check to see that SVAppPool is visible for the Application Pool (Figure 11 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 4/10

FIGURE 11: AADATASVC BELONGS TO SVAPPPOOL 3. In the Connections panel, click Application Pools, then right-click SVAppPool and click Advanced Settings. FIGURE 12: STEPS TO OPEN SVAPPPOOL'S ADVANCED SETTINGS 4. Verify that the (General) Advanced Settings list appears as shown in Figure 13 (below). FIGURE 13: MAKE SURE THAT.NET 2.0 AND ENABLE 32-BIT APPLICATION ARE SET Figure 13 (above) shows that AADataSvc is under.net Framework 2.0 and 32-Bit environment. Task: Define a Handler in Mappings List for AADataSv c https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 5/10

For IIS 6.0 1. Right-click AADataSvc and click Properties. 2. Click the Configuration button. 3. In the Mappings tab, check the list for the.svc extension. Figure 14 (below) shows that.svc is missing/not defined. FIGURE 14:.SVC EXTENSION IS NOT IN THE MAPPINGS EXTENSIONS LIST 4. Click Add. 5. Browse to the.svc Executable and configure the other options as shown in Figure 15 (below). In the Executable field, locate [C]:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll. FIGURE 15: APPLICATION EXTENSION MAPPING PROPERTIES For IIS 7.x 1. Double-click the Handler Mappings item. https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 6/10

FIGURE 16: HANDLER MAPPINGS FOR AADATASVC 2. Right-click anywhere in the list view and click Add Script Map (Figure 17 below). The Handler Map for.net Framework 2.0 and 32-bit application is missing. FIGURE 17: ADD SCRIPT MAP 3. Add the Request Path: *.svc (Figure 18 below). 4. Add the Executable path C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe. 5. Add the Name: svc_isapi-2.0. FIGURE 18: ADD SCRIPT MAP Note: aspnet_isapi.dll is required for connecting between WCF Service and AADataSvc's ASP.Net pages. Every request such as From/To WIS WCF Service that fires ASP.NET events for Live-data must go through an extension that is registered and points at aspnet_isapi.dll. In our case, the extension is.svc. Scenario: Conflicting (Multiple) Endpoints When you browse the SymbolDataService.svc file in IIS, you might see the following Exception message (Figure 19 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 7/10

FIGURE 19: BINDING EXCEPTION MESSAGE This message indicates that something is wrong in the web.config under [C]:\inetpub\wwwroot\Wonderware\AADataSvc\ directory. Web.config configured by WIS's Configurator has the following default section on <endpoint address>. If your web.config file has multiple sections, try to comment out the rest of the <endpoint address> element(s). Call Wonderware Technical Support if the problem still exists afterwards. FIGURE 20: MULTIPLE ENDOINT ADDRESS ELEMENTS Scenario: AADataSvc Points to Wrong.NET Framework WIS 4.0 and later ArchestrA Graphics does not support.net Framework 4.0. If there is no Live-data and you see the following Handler Mappings message when you click on Handler-Mappings for AADataSvc level: https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 8/10

FIGURE 21: HANDLER-MAPPINGS ERROR MESSAGE Recall that that AADataSsc's Application Pool is called SVAppPool. Go to the SVAppPool Advanced Settings. The (General) list shows that the.net Framework Version is 4.0. FIGURE 22: CHANGE.NET FRAMEWORK VERSION TO V2.0 This is the problem. Change it back to 2.0, and the above Error message will no longer appear. Scenario: Applying HotFix Causes No Live-data Update When applying a HotFix, you may see an instruction from the HotFix's Readme file similar to: Backup the existing file and copy the HotFix file into the directory. If the above instruction is for a.net DLL, it is not detailed enough, and will cause a problem. The following example is from a support case. The customer applied HotFix L0018926 for fixing the High CPU problem when running WIS ArchestrA Graphics. However, after applying the HotFix, there is no Live-data. Root Cause The cause of this problem is that two of the same.net DLLs are in the same directory after you have renamed the original.net DLL. In the runtime flow, the WIS ArchestrA Graphics subsystem is confused when it needs to load the.net DLL because there are two DLLs with same assembly name and version. This scenario causes a Common Problem when applying a HotFix that contains.net DLL(s). Note: Renaming a.net DLL does not change its original Assembly name and version number. https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 9/10

Resolution Cut/paste the original.net DLL(s) to another folder/location. The original DLL must be removed from its working directory, and the replacement put in. Scenario: SMC Log Flogs for Live-data Sometimes, the no Live-data error can still exist after completing these scenarios. In order to troubleshoot further, the WIS ArchestrA Graphics Subsystem defines three SMC Log flags for helping to collect Runtime information. The flags are: FIGURE 23: TURN ON TRACE FOR THE ABOVE FLAGS The most important flag is ArchestrA.Visualization.WCFService. After you enable Trace, open the page that has no Live-data. You should see some log entries for this flag. Click the following icon to view this file in.pdf format: E. Xu, K. Nourbakhsh 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. For technical support questions, send an e-mail to wwsupport@invensys.com. Back to top 2013 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. https://wdnresource.wonderware.com/support/kbcd/html/1/t002715.htm 10/10