CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy

Upgrading

There are two upgrade options:
  • Rolling Upgrade. An upgrade where you install a second instance of the services, and test
  • Running Upgrade. An upgrade where you install the code over an existing instance, and test.

Prior to upgrading record the following information:
  • Network Prefix
  • Vocabulary Prefix
  • Database Connection
  • Some information for testing:
    • SiteCode eg MyOD:ADD009
    • VariableCode eg CUAHSI:Discharge
    • Valid Date Range for a site and variable
      we suggest that this return a small number of values, say a week or a month


Rolling Upgrade: Follow the instructions follow the standard install instructions in the user manual.

  1. Download the latest web service code
  2. Expand into a new directory:
    • eg P:\WaterOneFlow\GenericODWS_1_0
  3. Right click, on directory, select properties
  4. In the security, set the permissions:
    • (Your Service Folder): Everyone - Read
    • (Your Service Folder): ASPNET - Full Control
    • (Your Service Folder):IIS_WPG - Modify
    • (Your Service Folder)\App_Data: Network_Service - Full Control
  5. In the Web Sharing tab, select "Share this site"
  6. Click Apply, Click ok in properties dialog
  7. Open IIS Admin
  8. In the directory security tab, Authentication and Access Control, click edit
    • Check, Enable Anonymous Access
  9. In the ASP.NET tab, check that ASP.NET version is 2.0.50727 or higher
    • you can also click "Edit Configuration" and edit the application configuration
  10. Go to http://localhost/(WebApplication)/Configure.aspx
    • insert: Network and Vocabulary Prefixes, and database connection string. Click ok
    • Click Test Database Connection

Testing:
  1. Go to http://localhost/(WebApplication)/
  2. Click on Database Test Page, see that you can connect to the database
  3. Click back in browser
  4. Click on GetVariableObject, insert VariableCode, click ok, see that information returns, Click back in browser.
  5. Click on GetSiteInfoOnject, insert SiteCode, click ok, see that information returns, Click back in browser.
  6. Click on GetValuesObject, insert SiteCode,VariableCode,BeginDate, EndDate, click ok, see that information returns, Click back in browser.
  7. Test in spreadsheet.

Running Upgrade:
  1. Make a backup by Zipping up your running web application (right click- send to compress(zip) folder)
  2. Download the latest web service code
  3. Expand into the existing directory:
    • eg C:\InetPub\wwwroot\GenericODws
  4. Edit the Release_connectionStrings.config, and add the database ConnectionString
  5. Edit the Release_appsettings.config, and add the network, and vocabulary prefixes.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.