IIS 6.0: You May Receive an Access Denied Error When You Use the OpenKey Method of the IIS Admin Base Object (332082)
The information in this article applies to:
- Microsoft Internet Information Services version 6.0
This article was previously published under Q332082 SUMMARYWhen you programmatically access the Microsoft Internet Information Services (IIS) 6.0
metabase by using the OpenKey method of the IIS Admin Base Object
( IMSAdminBase::OpenKey), you may receive an access denied error. This problem may occur if the
following conditions are true:
- The program opens a handle to a key in the hierarchy (the root "/," for example) only to read or write to some keys below this key ("/LM/W3SVC/1/Root/Vdir, for example).
-and- - The security context under which the program is running
does not have access to the key where the handle was opened, even if it does
have permissions to the key that is being modified or read.
To avoid this problem, open the handle at the key where the
operations are performed.
Modification Type: | Major | Last Reviewed: | 10/7/2003 |
---|
Keywords: | kbpending kbprb KB332082 kbAudDeveloper |
---|
|