The information in this article applies to:
SYMPTOMSCalls to the SaveSetting, GetSetting, DeleteSetting or GetAllSettings methods in a Visual Basic 6.0 Webclass [Internet Information Server (IIS) Application] return the following errors in the Application log of the Windows NT Event Viewer:
-and-
CAUSE
The SaveSetting, GetSetting, DeleteSetting, and GetAllSettings methods in Visual Basic are not available in Visual Basic 6.0 Webclasses (IIS Applications) when running in a compiled state. You should not use these methods in your Webclass applications.
RESOLUTIONIf you need to read and write to the registry, you need to write to and read from HKEY_LOCAL_MACHINE or HKEY_USERS, which are available to the Internet Information Server service. You may use the Windows Scripting Host for this purpose, or another component that provides this functionality. STATUSThis behavior is by design. MORE INFORMATIONThe following is sample Windows Scripting Host code to read and write from the registry:
REFERENCESYou can download the Windows Scripting Host from the following location: http://www.microsoft.com/msdownload/vbscript/scripting.asp Additional query words:
Keywords : kbRegistry kbVBp600 kbWebClasses kbGrpASP kbDSupport |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |