ERROR: Variable is undefined: 'Session'

Symptoms

When trying to login to RMTrack you recieve the following unexpected error:

Page URL: /RMT/Assignments/MyAssignments.asp
Microsoft VBScript runtime
Error number: 500
Error message: Variable is undefined: 'Session'
ASP page: /RMT/Assignments/MyAssignments.asp, line 176
RMTrack: v2.3.0

Cause

Session state is not enabled on the RMTrack virtual directory.

Resolution

To resolve this problem you must enable session state using the Internet Information Services Manager:

  1. Start IIS Manager
    1. Under Windows 2000: Start->Settings->Control Panel->Administrative Tools->Internet Services Manager
    2. Under Windows 2003: Start->Settings->Control Panel->Administrative Tools->Internet Information Services (IIS) Manager
  2. Locate the RMTrack virtual directory. By default this is located in the Default Website and is named RMT.
  3. Display the virtual directory’s properties by right-clicking and selecting the Properties choice.
  4. On the "Home Directory" tab ("Directory" under Windows 2003) click the "Configuration..." button near the bottom right of the dialog
  5. Switch to the "Options" tab of the Application Configuration dialog.
  6. Check the "Enable Session State" checkbox
  7. Click OK to close the Application Configuration dialog.
  8. Click OK to close the Properties dialog.
  9. Restart IIS
    1. Start a command prompt
    2. Enter the following command: IISReset

Status

Corrected in v2.3.1. Session state is explicitly enabled by the installer.

Applies to

RMTrack Issue Tracking – all versions prior to v2.3.1

Keywords: session