• Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Wrong distinguishedName returned from server?

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 5.5] >> General >> Wrong distinguishedName returned from server? Page: [1]
Message << Older Topic   Newer Topic >>
Wrong distinguishedName returned from server? - 18.Feb.2005 9:26:00 AM   


Posts: 1
Joined: 18.Feb.2005
From: Sweden
Status: offline

Im writing a small application in .Net using DirectoryServices for listing users and their properties in address books (Exchange 5.5).

When Im iterating through the objects in an address book, e.g. in:


... the path (dn) of every user object points to where the object is stored, i.e. in the Recipients folder in my case, which is good.

But on some OS, like Duth Win2k "[Smile]" , the path points to the address book:
which is an anvalid path since that object does not exist and I end up with an exception when I try to access a property.

There is no such object on the server.

The following code snippet just iterates through every object in a container (an address book in my case) and works fine on every OS Ive tried... but not on Dutch Win2K. Why?

for each entry in myDirEntry.children
for each sProperty in entry.properties.propertyNames

Does anyone have a clue why the path/dn is wrong?
Any help is appreciated.

Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 5.5] >> General >> Wrong distinguishedName returned from server? Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts

Follow TechGenix on Twitter