Installation of TrialDB

Web Browser configuration

Popup blockers and TrialDB

Database Installation

Oracle

Microsoft SQL Server

Middleware Configuration

Oracle Net8 configuration

Microsoft SQL Server

ODBC Data Source Configuration

Web Server Installation

     .NET files

Access Client Installation & Configuration

 

Setting up TrialDB requires that you set up a Database Server, a Web server and an Access client. In production mode, each of these should be on a separate machine. In test mode, all three may be on a single machine if you are short of hardware, but it is preferable that the Access client be on a separate machine from the Web/Database server. The skill set required to work with the Server and the Client are different- the latter is meant for power-user study designers who are not necessarily programmers,and so should be installed on a desktop CPU rather than a server-class machine.

 

Web Browser configuration

The first step in using TrialDB is to ensure that your Web browser is set up correctly. Currently, TrialDB works with Microsoft Internet Explorer version 5.5 or greater on PCs. (We do not support the Macintosh natively, unless you use Virtual PC, because IE for the Mac does not support VBScript .)

You must have 128-bit encryption enabled, so as to be able to use https. You may need to download the 128-bit encryption add-in from Microsoft's Web site.

Popup Blockers and TrialDB

TrialDB uses popups to pass information from one Web page to another, in at least two circumstances.

The Google popup blocker and the blocker built into WIndows XP Service Pack 2 can interfer with TrialDB's operation. In this case, holding the control key down while you perform a mouse action (e.g., clicking a button that lets you search a vocabulary, or mousing into another field) will suppress the popup.

DATABASE INSTALLATION

Prerequisites

The current version of TrialDB requires Oracle version 8.1 or greater, or SQL Server 2000 or greater. (The SQL Server schema was developed by Tom Hoen, currently at the Johns Hopkins center for aging.) We are just in the process of testing SQL Server 2005.

Oracle

The file TrialDB_oracle_schema.zip contains the complete Data Definition Language (DDL) instructions for creating a database schema. This script is contained in the file The following steps should be performed in sequence:

You may have to edit some scripts according to your local Oracle environment.   For instance, you may not be able to assign DBA privilege to user ACT_PROD.

The contents should then be restored from the file TrialDB_oracle.dmp

  Microsoft SQL Server

Installation is much simpler. Unzip the file TrialdB_sql_server.zip and restore its contents using the SQL Server Enterprise Manager. (By default, this will restore to a database called act_db, but you can change this.)

  Middleware Configuration

Oracle Net Configuration

(Note: Oracle keeps changing the name of the middleware piece used to populate the TNSNAMES.ORA configuration file - which stores information about the Oracle databases that you wish to connect to from your desktop - with each new release of Oracle. In Oracle 8, this was called Net8 configuration; in Oracle 9, it's just "net" configuration assistant.)

Microsoft SQL Server

Connectivity to Microsoft SQL Server is built into Microsoft Office, so you don't need to do anything special.

2. ODBC Datasource configuration

Create an ODBC datasource to your database, give it any name you like. (The installation at Yale uses the name "actris" the old name for TrialDB). If using Oracle, make sure that you have the Oracle ODBC driver installed on your desktop machine. (Warning: Don't use the Microsoft ODBC driver for Oracle- this is pretty buggy with respect to Access.)

For SQL Server, you should have no problems specifying the data source. When you connect, it is preferable that you specify that you will be using Integrated (Windows) authentication; this is much more secure than the older SQL Server authentication, and also has the advantage that you will not be prompted repeatedly for a password. (We assume, of course, that access to your desktop is restricted using mechanisms such as password-protected screen savers.)

WEB SERVER INSTALLATION

Pre-requisites

The Web server should have Internet Information Server, and should be running Windows 2000 Server or Enterprise Editions. You should install the .NET framework, version 1.1 or greater, on the machine. This is available as a free download from Microsoft.   (Currently, the reporting code and the module that handles binary data are written using .NET: the rest will be moved over to .NET gradually.)

The following steps should be performed

The start page for the application is "TrialDB.asp".

Create an ODBC data source on your Web server. The .NET part of the Web application will access the database via ODBC.

The folders ExtractsNET and ReportsNew must be designated as applications. (These are .NEt apps.)

.NET files

The file TrialDB_net.zip contains all the files necessary for the .NET component of Act_DB (as of Dec '05 - in future, this component will increase and the .ASP component will correspondingly shrink, possibly to the point where it ceases to exist. Inside this file is a Microsoft Word document called NET Upgrade Instructions.doc, which should tell you how to set these files up.The reports, extracts, pedigree drawing, sample tracking, and patient-enterable forms modules are built with .NET, as are a few small screens used elsewhere (a "graphic calendar" and a file upload form).

 During development, you will set up two projects:

WebEAV: a class library that provides user-interface widgets and utility routines used by TrialDB.

TrialDB - the Web site project. This uses the WebEAV library, among other things, so you should create a two-project solution to facilitate interactive debugging.

In production, all the ASPX files go in the root folder (e.g, ACT_DB). The two .NET binaries, WebEAV.dll and TrialDB.dll, go into a bin folder under act_db. The bin folder also contains other dlls (such as wrappers around COM objects that the WEbEAV library uses, as well as an open-source library that allows you to zip/unzip files: this is used by the Extracts module.)

To enable secure communication between ASP and ASP.NET (which run in separate processes), your Windows 2000/2003 Server must have Microsoft Message Queue enabled on it, since MSMQ is used for the communication.

  ACCESS CLIENT INSTALLATION AND CONFIGURATION