FIX: Global.asa is not executed if restricting Web access (173742)
The information in this article applies to:
- Microsoft Active Server Pages
- Microsoft Internet Information Server 4.0
This article was previously published under Q173742 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SYMPTOMS
Session variables initialized in Global.asa's Session_onStart are empty
when access to the Web requires authentication, even though the user has
sufficient permissions to access the Web site. There are many possible
error messages associated with this behavior; however, here's the most
common:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified
/<web name>/<asp filename>.asp, line xx
NOTE: This problem applies only to Microsoft Internet Information Server 4.0 on Windows NT with NTFS. This does not apply to virtual roots hosted on an FAT partition CAUSE
Active Server Pages (ASP) requires Anonymous access to Global.asa
regardless of the authentication process.
RESOLUTION
To fix this behavior, change the NTFS permissions on the Global.asa file to
give the Anonymous Logon account -- as defined in the "Internet Service
Manager" -- Read (RX) permissions. For instructions on setting file
permissions, see Windows NT Help.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This problem was corrected in Windows 2000.
REFERENCES
For the latest Knowledge Base articles and other support information on
Visual InterDev and Active Server Pages, see the following page on the
Microsoft Technical Support site:
Modification Type: | Minor | Last Reviewed: | 6/30/2006 |
---|
Keywords: | kbASPObj kbBug kbfix kbiis500fix kbOSWin2000fix KB173742 kbAudDeveloper |
---|
|