Microsoft KB Archive/302424

= &quot;HTTP Error 500-12 Application&quot; error message or Active Server Pages stop responding (hang) when you add a Global.asa to your Web site in FrontPage =

Article ID: 302424

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Services 5.1

-



This article was previously published under Q302424



Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect your system.

Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

Note An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled.

For additional information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:

129972Computer viruses: description, prevention, and recovery



SYMPTOMS
If you add a Global.asa to your Web site, Active Server Pages (ASP) stop responding (hang) or you see an error message similar to the following:

HTTP Error 500-12 Application Restarting

Internet Information Services

This can also occur if you are developing ASP in other programs such as Microsoft Visual Interdev and you add a Global.asa file to the site.



CAUSE
This problem can occur if an antivirus program is scanning the Global.asa file. This behavior has been seen in the following situations:
 * You have configured the Symantec Norton AntiVirus program to use the Script Blocking feature when scanning the Global.asa file.
 * You have configured the McAfee NetShield antivirus program to scan Web application files.



RESOLUTION
Configure the antivirus program to not scan the global.asa file. For information about how to contact the manufacturer of your antivirus program, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and Software Third-Party Vendor Contact List, A-K

60781 Hardware and Software Third-Party Vendor Contact List, L-P

60782 Hardware and Software Third-Party Vendor Contact List, Q-Z



MORE INFORMATION
A Global.asa file is used by ASP to store information for the Application and Session objects. (A Global.asa file is created automatically by FrontPage when you create a database connection to store information about the database connection parameters.)

If the Global.asa file is modified, the Web application needs to be restarted by Internet Information Services (IIS) to refresh the variables contained in the file. When the application restarts, the Global.asa file is reloaded by IIS. If an antivirus program sees that the Global.asa file is being accessed by another process, it scans the file and marks it as modified, and the entire process repeats itself. This can result in the error message or the system not responding as decribed in the &quot;Symptoms&quot; section earlier in this article.

