You are currently offline, waiting for your internet to reconnect

Error message when you try to use the Active Directory Service Interfaces extension for Terminal Services to read the properties for a user on a Windows Server 2008-based computer: "The directory property cannot be found in the cache"

SYMPTOMS
You try to use the Active Directory Service Interfaces (ADSI) extension for Terminal Services to read the properties for a user on a Windows Server 2008-based computer. Then, you may receive an error message that resembles the following:
Error: The directory property cannot be found in the cache.

Code: 8000500D
Source: Active Directory
This error can occur when you run Microsoft Visual Basic Scripting Edition (VBScript) code. For example, the error can occur when you run the following sample code.
Set objUser = GetObject("LDAP://cn=<user name>,cn=<ou>,dc=<test1>,dc=<test2>,dc=local")Wscript.Echo objUser.Name & "Terminal Services Profile Settings"WScript.Echo "Allow Logon:" & objUser.AllowLogon
CAUSE
This problem can occur if the properties for the user have not been set.
RESOLUTION
To resolve this problem, set the properties for the user. For example, use the Active Directory Users and Computers snap-in to set the Deny this user permissions to log on to Terminal Server option in the properties for the user. To do this, follow these steps:
  1. Click Start, type dsa.msc in the Start Search box, and then click dsa in the Programs list.

    User Access Control permission If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  2. In Active Directory Users and Computers, click Users.
  3. Right-click the user, and then click Properties.
  4. On the Terminal Services Profile tab, click Deny this user permissions to log on to Terminal Server, and then click OK.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For more information about how to use the ADSI extension for Terminal Services user configuration, visit the following Microsoft MSDN Web site:
Properties

Article ID: 947729 - Last Review: 02/06/2008 23:23:00 - Revision: 1.0

Windows Server 2008 Standard, Windows Server 2008 Enterprise, Windows Server 2008 Datacenter, Windows Server 2008 for Itanium-Based Systems, Windows Web Server 2008

  • kbtshoot kbprb KB947729
Feedback
var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" -binding" id="language-ko-kr">대한민국 - 한국어
España - Español
Paraguay - Español
Venezuela - Español
://c1.microsoft.com/c.gif?DI=4050&did=1&t="> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" d')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?">