Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2000: Global.asa Does Not Run in FrontPage Web


View products that this article applies to.

Symptoms

After you create a new Microsoft FrontPage web by using Session Variables or Application Variables initialized in the Global.asa file, the code in Global.asa may not run as expected. In this case, any variables defined in that file are not populated.

↑ Back to the top


Cause

This behavior occurs when the web is not configured as an application.

↑ Back to the top


Resolution

To resolve this issue, use one of the following methods.

Method 1: Use FrontPage to Republish the Web on the Same Server

  1. Open the affected web in FrontPage 2000 by using HTTP (for example, http://myserver/myweb/).
  2. On the File menu, click Publish Web.
  3. In the Specify the location to publish your web to box, type the HTTP path to your server, followed by your web name, appended with the number 2 (for example, http://myserver/myweb2).
  4. When publishing is completed, click Web Settings on the Tools menu.
  5. On the General tab, in the Web Name box, append the web name with the number 3 (for example, myweb3).
  6. Click OK.
  7. On the File menu, click Close Web.
  8. On the File menu, click Open Web.
  9. In the Open Web dialog box, select the newly published web (for example, http://myserver/myweb2).
  10. When the web opens, click Web Settings on the Tools menu.
  11. Delete the number 2 from the web name (for example, change myweb2 to myweb).
  12. Click OK.

Method 2: Use the Microsoft Internet Information Services (IIS) Snap-in in the Microsoft Management Console

  1. Open the IIS snap-in in the MMC.
  2. Right-click the directory or virtual directory that contains the web that is not working.
  3. Click Properties on the shortcut menu.
  4. Select the Directory or Virtual Directory tab.
  5. Click the Create button.
  6. Click OK.
  7. Quit the MMC.

↑ Back to the top


More information

The Global.asa file stores information about an IIS application, including information about the following items:
  • Application events
  • Session events
  • Object declarations
  • Type Library declarations

↑ Back to the top


References

For more information about application settings, see the "Configuring Applications" topic in the Windows NT 4.0 Option Pack online documentation, or the "Web Applications" section of the IIS 5.0 documentation.

↑ Back to the top


Article Info
Article ID : 265275
Revision : 2
Created on : 1/1/0001
Published on : 1/1/0001
Exists online : False
Views : 459