Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 9 Jan 2008 10:26:27 -0800 (PST),    group: microsoft.public.exchange.development        back       


ResolveName((ULONG)NULL, 0L, NULL, pAdrList)) fails with .[0x8004010F]   
Hi,

We have a program that runs across mailboxes on the Exchange Server.
During this, there is an issue resolving a mail box on Exchange 2003
when the Display Name is in a particular format.
e.g. :  Gav,  Nik  R (Lastname, FirstName Initial)

The program throws an error for the MAPI call "ResolveName()". The
HRESULT for the same is :  '-2147221233'.[0x8004010F]
The code that I am using is : (hr = pAddrBook-
>ResolveName((ULONG)NULL, 0L, NULL, pAdrList))
The "pAdrList." has a proper/valid value.

Other examples of Display Name where this call fails are:
(Lastname,  FirstName Initial)	OR
(Lastname  FirstName Initial)

After the ResolveName() I am trying to Manually Resolve the Address
using the MAPI call GetContentsTable(). However, that too is failing
with
HRESULT= '-2147221246' [0xF33399B4]

Request you help to resolve this Issue on a ASAP basis.


Thanks &  Regards,
Nik

Environment :
OS: Windows 2003 Enterprise Edition
Exchange Server: Exchange 2003
Active Directory Version : 5.2.3790.3959


P.S :  However, if I change the display name of the problem user to
something like :
 (Lastname  FirstName) the "ResolveName()" call works.
date: Wed, 9 Jan 2008 10:26:27 -0800 (PST)   author:   Nik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us