The information in this article applies to:
SYMPTOMSWhen calling a method of a COM component that uses the getenv() function, the function returns a NULL value for the environment variable passed to it as parameter. CAUSEThe environment variable passed to getenv() is a user environment variable. Calling getenv() under Active Server Pages (ASP) can access only the system environment block. RESOLUTION
Add the environment variable to the system environment block if you need to retrieve the variable from ASP.
STATUSThis behavior is by design. Additional query words:
Keywords : kbASP kbCOMt kbGrpASP kbiis400 kbiis500 |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |