You may receive a "VBScript runtime error '800a01f4' " error message when you try to open the Reporting Web site in Systems Management Server 2003


Symptoms


When you try to open the Reporting Web site in Microsoft Systems Management Server (SMS) 2003, you may receive an error message that is similar to the following:
Microsoft VBScript runtime error '800a01f4'



Variable is undefined 'Session'



/SMSReporting_site_code/reports.asp, line 5
Note In this error message example, site_code is a placeholder for the site code of the SMS reporting point.

When this problem occurs, the following entry may appear in the Internet Information Services (IIS) log:
HTTP Error 500 - Internal Server Error 

Cause


This behavior may occur if the Enable session state option is not enabled for the SMS Reporting Web site.

Workaround


Windows Server 2003 and Internet Information Services 6.0

To work around this behavior on an SMS Reporting Web site that is running Microsoft Windows Server 2003 together with Microsoft Internet Information Services (IIS) 6.0, follow these steps:
  1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Expand the server_name (local computer) container, expand Web Sites, and then expand Default Web Site.
  3. Right-click SMSReporting_site_code, and then click Properties.
  4. On the Virtual Directory tab, click Configuration.
  5. On the Options tab, click to select Enable session state, and then click OK two times.
  6. Click Start, click Run, type cmd, and then click OK.
  7. At the command prompt, type iisreset, and then press ENTER.

Windows 2000 Server and Internet Information Services 5.0

To work around this behavior on an SMS Reporting Web site that is running Microsoft Windows 2000 Server together with Microsoft Internet Information Services 5.0, follow these steps:
  1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
  2. Expand *server_name, and then expand Default Web Site.
  3. Right-click SMSReporting_site_code, and then click Properties.
  4. On the Virtual Directory tab, click Configuration.
  5. On the App Options tab, click to select Enable session state, and then click OK two times.
  6. Click Start, click Run, type cmd, and then click OK.
  7. At the command prompt, type iisreset, and then press ENTER.