PRB: Global.asa Does Not Fire from Personal Web Server on Windows 98

This article has been archived. It is offered "as is" and will no longer be updated.

SYMPTOMS

When you develop Visual Basic Internet Information Server (IIS) applications (WebClasses) on Microsoft Windows 98, you may not be able to access any session or application variables from the Global.asa file. This problem may also occur when you work locally (in Local Mode) in a Visual InterDev project.

CAUSE

The virtual directory that Visual Basic (or Visual InterDev in Local Mode) sets up is not created as an application. For Global.asa to fire, the virtual directory must be an application. When Global.asa fires, the session and application variables are set to the appropriate values.

RESOLUTION

To resolve this problem, remove the existing virtual directory, and create a new virtual directory in Personal Web Manager as follows:

Open Personal Web Manager (click the black and white icon on the taskbar).