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

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

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

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

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

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

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

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

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

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

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

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.

Enabling Cross-Machine Distributed Transactions (via MSDTC)

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

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

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

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

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

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

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

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

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

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

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

Introduction. Back Up the Runtime Database. Application Versions

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

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

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

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

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

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

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

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

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

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.

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

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

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

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

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

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.

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

How To Write A Summary On A Historyorian Server

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

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

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

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

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

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

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

Industrial Application Server Redundancy: Troubleshooting Guidelines

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

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

Part I: Setting up Bristol Babcock's OPC Server

Security Settings for Wonderware Products

Tech Note 128 Configuring InBatch For Standalone PCs With SQL Server and IndustrialSQL Server

SPHOL207: Database Snapshots with SharePoint 2013

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Jolly Server Getting Started Guide

Lab 05: Deploying Microsoft Office Web Apps Server

TaskCentre v4.5 Run Crystal Report Tool White Paper

Using Network Application Development (NAD) with InTouch

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

Technical Bulletin. SQL Express Backup Utility

WebSphere Business Monitor

BizTalk Server Business Activity Monitoring. Microsoft Corporation Published: April Abstract

Business Process Management IBM Business Process Manager V7.5

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

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

Polar Help Desk Installation Guide

SQL Server 2005: Report Builder

Installing the TCP/IP Network Protocol

Wonderware InBatch. Flexible batch management

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

How To Connect A Java To A Microsoft Database To An Ibm.Com Database On A Microsq Server On A Blackberry (Windows) Computer (Windows 2000) On A Powerpoint (Windows 5) On An Ubio.Com

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Wonderware Historian Client Installation Guide. Invensys Systems, Inc.

NETWRIX CHANGE NOTIFIER

Report Designer and Report Designer Add-In Installation Guide Version 1.0

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

SQL Server 2005 Reporting Services (SSRS)

Microsoft Business Contact Manager Version 2.0 New to Product. Module 4: Importing and Exporting Data

StreamServe Persuasion SP5 Document Broker Plus

Microsoft Dynamics NAV 2013 R2 Release Notes Follow-up

Uni Sales Analysis CRM Extension for Sage Accpac ERP 5.5

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Tech Note 213 Finding Memory Leaks in Windows 95/98/98SE Using System Monitor

Working with SQL Server Integration Services

WW OPS-01 Consistent and Flexible Batch Execution with Wonderware InBatch

EventTracker: Support to Non English Systems

Security Development Tool for Microsoft Dynamics AX 2012 WHITEPAPER

How to Configure a Secure Connection to Microsoft SQL Server

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

WebSphere Business Monitor

ChangeAuditor. Migration Guide CA-MG

SMS Database System Quick Start. [Version 1.0.3]

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

Multiple Aligned Column Headers in Lists and Crosstabs

Moving the Web Security Log Database

Sage 200 Web Time & Expenses Guide

Transcription:

Tech Note 767 Working with InBatch Reports 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#: 002546 Created: April 2011 Introduction This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server. Application Versions InBatch 9.0 and later Microsoft SQL Server 2005 Microsoft SQL Server Reporting Services 2005 Wonderware Information Server 4.0 and later InBatch 9.0 Reporting Overview Microsoft Reporting Services replaced IBM's Crystal Reports in InBatch 9.0. Leveraging MS Reporting Services consolidates ArchestrA reporting capabilities to provide Wonderware Information Server for the reporting content. Note: Be sure to install Reporting Services when installing Microsoft SQL Server 2005. Installing Microsoft Reporting Services also installs SQL Server Business Intelligence Development Studio, which is a limited version of Microsoft's Visual Studio 2005 with the specific focus on SQL Server applications. SQL Server Business Intelligence Development Studio is your Development Environment for InBatch Reports. Note: You are responsible for all support and maintenance of any customized report. FIGURE 1: INBATCH REPORTING DEVELOPMENT ENVIRONMENT Separating InBatch Batch History Server and InBatch Reporting Content Previous versions of InBatch required installing Batch History and Batch Information Server on the same machine. Starting with version 9.0, you have the option to split Batch History Server and Reporting content (Figure 2 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 1/14

FIGURE 2: DISTRIBUTED INBATCH 9.0 ARCHITECTURE Wonderware Information Server Replaces InBatch Report Web Previous InBatch versions used InBatch's Report Web for configuring or running batch reports on the web. This was due to the limiting capabilities provided by Crystal Reports that prevented us to provide a tighter integration into Wonderware Information Server. Since InBatch 9.0, Wonderware Information Server is the host for all Reporting related tasks, including running, exporting, publishing and scheduling automated report generation, or even scheduling maintenance on the Batch Historian Server. Retained Features The Batch History Database structure (Schema) has not changed. All queries that you created for Crystal Reports can remain unchanged and can be reused within Microsoft Reporting Services. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 2/14

FIGURE 3 - BATCH HISTORY SCHEMA InBatch 9.0 provides all reports that you might know from previous versions of InBatch. If you created custom reports through Crystal Reports there will be no issues in executing them against InBatch 9.0 since the underlying metadata structure has not changed. However, the one fundamental change is that the trigger that creates a report is no longer sent to Crystal Reports but to Information Server. This means that any custom reports that were triggered automatically will have to be re-built using Microsoft Reporting Services. FIGURE 4: WIS BATCH REPORTING OPTIONS While installing the InBatch Reporting Content the actual report source files (*.rdl) will be installed too. The default directory for these report files is C:\Program Files\Wonderware\InBatch\Reporting Services (Figure 5 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 3/14

FIGURE 5: INBATCH'S *.RDL SOURCES Editing and Modifying Existing Standard Reports 1. Start SQL Server Business Intelligence Development Studio by clicking Start > All Programs > Microsoft SQL Server 2005 > SQL Server Business Intelligence Development Studio (Figure 6 below). FIGURE 6: START SQL SERVER BUSINESS INTELLIGENCE DEVELOPMENT STUDIO 2. Within Visual Studio's IDE, create a New Report Server Project by pressing Ctrl + Shift + N, or click File > New > Report Server Project. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 4/14

FIGURE 7: NEW VISUAL STUDIO REPORT SERVER PROJECT 3. In the Visual Studio IDE, right-click Solution Explorer and click Shared Data Source to create a new Shared Data Source called aareports. 4. Click Edit in the Shared Data Source dialog box. 5. Configure the Connection Properties as in Figure 8:2 (below). FIGURE 8: SHARED DATA SOURCE AND CONNECTION PROPERTIES The Shared Data Source name must be aareports for existing reports. IMPORTANT: DO NOT SELECT BatchHistory as the database select aareports. For editing existing reports, the shared data source https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 5/14

must be named aareports and point to the aareports Database -- otherwise the report won't work. Import the Existing Report into Your Project 1. In Visual Studio IDE right-click Solution Explorer and click Reports > Add > Existing Item. FIGURE 9: ADD EXISTING ITEM 2. Browse to the directory in which the source files (*.rdl) are located and select the report that you want to change. FIGURE 10: LOCATE THE TARGET REPORT 3. Apply modifications as desired. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 6/14

FIGURE 11: CHANGING THE REPORT Important: To make sure that the current existing report remains unchanged in your system, it is strongly recommended to use a different name for your new report instance. For example, renaming IBBatchJournal.rdl to MyBatchJournal.rdl is strongly advised (Figure 12 below). FIGURE 12: RENAMING YOUR FILE INSTANCE Once finished with editing the report, and saving the report as part of your project, you need to copy the new report.rdl file into the InBatch Reporting Content location you chose. Example: Changing the Existing Report Header Once you performed the steps above, you should see the report within Visual Studio. For this example, we can change out the existing image called SiteLogo (Figure 13 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 7/14

FIGURE 13: CHANGE OUT SITELOGO IMAGE 1. Right-click the logo and click Delete. Figure 14: Delete the Image Used for the logo. 2. Open the Toolbox. FIGURE 15: OPEN THE TOOLBOX 3. Add an image from the Report Items list. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 8/14

FIGURE 16: ADD AN IMAGE TO THE REPORT 4. Choose the image you want to use in the new report. FIGURE 17: CHOOSE YOUR IMAGE 5. You should have your logo handy for inclusion. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 9/14

FIGURE 18: NEW IMAGE 6. Arrange for the right appearance, and save the report. FIGURE 19: SAVE THE MODIFIED REPORT Publishing the Modified Report on Wonderware Information Server You are now ready to deploy the report onto Wonderware Information Server. The Deploy ArchestrA Reports utility provides the means to publish ArchestrA Reports at any time. https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 10/14

FIGURE 20: DEPLOY ARCHESTRA REPORTS UTILITY To prepare for the deployment you need to manually adjust the report services configuration. The InBatch Reporting Content location contains the configuration file. Use Notepad (or any more powerful XML editor) to edit RptServicesConfig.xml. 1. For each report add one separate XML Element: <Report name= <MyReport Name> file="< name of the file that contains your report>" description=" <description for your report"/> For example: <Report name= Personal Journal Report file="mybatchjournal.rdl" description="this is my first modified batch report"/> Now you can run Deploy ArchestrA Reports. The utility reads the modified XML configuration and updates Information Server's Report Database. All reports listed in the configuration file are published under InBatch/ Execute Reports. 1. Start Deploy ArchestrA Reports. 2. Click the Existing Shared Data Source option. This refers to the aareports you created in a previous step. 3. Select Production from the Existing SDS Type drop-down list. 4. Browse for the edited Configuration file. 5. Click the Deploy button (Figure 21 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 11/14

FIGURE 21: DEPLOY REPORT TO WIS After the deployment process is done, you see your report within Information Server. You might need to refresh your browser (press the F5 button). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 12/14

FIGURE 22: DEPLOYED REPORT Automated Generation of InBatch Custom Reports Now we need to adjust Information Server's settings to allow the report triggered on a batch event or schedule. The adjustments necessary are very similar to the ones discussed above. Instead of using RptServicesConfig.xml at the InBatch Reporting Content location, you must use the file that is located on your web server. Use the RptServicesConfig.xml that is located at C:\Inetpub\wwwroot\Wonderware\InBatchReports\ReportConfig (assuming a default installation) and add your report to the existing list. Now you can use the same methods as for the standard reports to arrange for your report to be generated automatically (Figure 23 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002546.htm 13/14

FIGURE 23: ADD AUTOMATED REPORT GENERATION Click the following icon to view this file in.pdf format: D. Kozian 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 support@wonderware.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/t002546.htm 14/14