Microsoft KB Archive/265275

= FP2000: Global.asa Does Not Run in FrontPage Web =

Article ID: 265275

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q265275





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.



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



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:// ).
 * 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:// 2).
 * 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,  3).
 * 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:// 2).
 * 10) When the web opens, click Web Settings on the Tools menu.
 * 11) Delete the number 2 from the web name (for example, change   to  ).
 * 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.



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

