Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 26 Jun 2008 05:09:00 -0700,    group: microsoft.public.platformsdk.mapi        back       


HrFindExchangeGlobalAddressList fails   
I have 2 exchange servers on a single domain. I have a application running on 
both the exchange servers. My application runs fine with one exchange server. 
The same fails with HrFindExchangeGlobalAddressList failure on the other 
exchange server. Can anyone throw some light as to why does this occur. 
Thanks in advance.


Regards
Kavitha
date: Thu, 26 Jun 2008 05:09:00 -0700   author:   kavitha

Re: HrFindExchangeGlobalAddressList fails   
Did you step through the code to see why the call fails?
HrFindExchangeGlobalAddressList source code should be in the Exchange 5.5 
SDK.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"kavitha"  wrote in message 
news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
>I have 2 exchange servers on a single domain. I have a application running 
>on
> both the exchange servers. My application runs fine with one exchange 
> server.
> The same fails with HrFindExchangeGlobalAddressList failure on the other
> exchange server. Can anyone throw some light as to why does this occur.
> Thanks in advance.
>
>
> Regards
> Kavitha
date: Fri, 27 Jun 2008 11:21:38 -0700   author:   Dmitry Streblechenko

Re: HrFindExchangeGlobalAddressList fails   
Adding to what Dmitry mentioned..

I just recalled that Stephen Griffin or someone else form Microsoft team 
posted on MSDN blogs that EDK library doesn't returns correct error 
codes. So be careful!!

Dmitry Streblechenko wrote:
> Did you step through the code to see why the call fails?
> HrFindExchangeGlobalAddressList source code should be in the Exchange 5.5 
> SDK.
>
date: Sat, 28 Jun 2008 00:22:31 +0530   author:   Ashutosh Bhawasinka

Re: HrFindExchangeGlobalAddressList fails   
The error code i get is 80004005. It says it is an unspecified error.

"Dmitry Streblechenko" wrote:

> Did you step through the code to see why the call fails?
> HrFindExchangeGlobalAddressList source code should be in the Exchange 5.5 
> SDK.
> 
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "kavitha"  wrote in message 
> news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
> >I have 2 exchange servers on a single domain. I have a application running 
> >on
> > both the exchange servers. My application runs fine with one exchange 
> > server.
> > The same fails with HrFindExchangeGlobalAddressList failure on the other
> > exchange server. Can anyone throw some light as to why does this occur.
> > Thanks in advance.
> >
> >
> > Regards
> > Kavitha 
> 
> 
>
date: Sun, 29 Jun 2008 23:01:00 -0700   author:   kavitha

Re: HrFindExchangeGlobalAddressList fails   
*Which* MAPI method in HrFindExchangeGlobalAddressList fails?
Did you step through the source code?

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"kavitha"  wrote in message 
news:2452D75B-F41E-4667-811F-50AF9A22864A@microsoft.com...
> The error code i get is 80004005. It says it is an unspecified error.
>
> "Dmitry Streblechenko" wrote:
>
>> Did you step through the code to see why the call fails?
>> HrFindExchangeGlobalAddressList source code should be in the Exchange 5.5
>> SDK.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "kavitha"  wrote in message
>> news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
>> >I have 2 exchange servers on a single domain. I have a application 
>> >running
>> >on
>> > both the exchange servers. My application runs fine with one exchange
>> > server.
>> > The same fails with HrFindExchangeGlobalAddressList failure on the 
>> > other
>> > exchange server. Can anyone throw some light as to why does this occur.
>> > Thanks in advance.
>> >
>> >
>> > Regards
>> > Kavitha
>>
>>
>>
date: Tue, 1 Jul 2008 08:38:54 -0700   author:   Dmitry Streblechenko

Re: HrFindExchangeGlobalAddressList fails   
if(FAILED( hRes = m_pMapiSession->GetMapiSession()->OpenAddressBook( NULL, 
NULL, 0, &pAddrBook)))
		{
			Log( "Error in opening address book" );
		}
		else
		{
			if(FAILED( hRes = HrFindExchangeGlobalAddressList( pAddrBook, &cbeid, 
&lpeid)))
			{
				sprintf(pszError,"HrFindExchangeGlobalAddressList failed. Error code = 
%x",hRes);
				Log( _T( pszError ) );
			}
}


Here the OpenEntry method is a success. But the 
HrFindExchangeGlobalAddressList fails. 

Let me explain the scenario once again.
 
I have 2 exchange servers at  2 locations and we have in both locations 1xAD 
& 1x Exchange. One instance of my application connected to one exchange 
server is working fine. The other instance is connected to another exchange 
server. The other insztance is failing for HrFindExchangeGlobalAddressList. 


"Dmitry Streblechenko" wrote:

> *Which* MAPI method in HrFindExchangeGlobalAddressList fails?
> Did you step through the source code?
> 
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "kavitha"  wrote in message 
> news:2452D75B-F41E-4667-811F-50AF9A22864A@microsoft.com...
> > The error code i get is 80004005. It says it is an unspecified error.
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Did you step through the code to see why the call fails?
> >> HrFindExchangeGlobalAddressList source code should be in the Exchange 5.5
> >> SDK.
> >>
> >> -- 
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "kavitha"  wrote in message
> >> news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
> >> >I have 2 exchange servers on a single domain. I have a application 
> >> >running
> >> >on
> >> > both the exchange servers. My application runs fine with one exchange
> >> > server.
> >> > The same fails with HrFindExchangeGlobalAddressList failure on the 
> >> > other
> >> > exchange server. Can anyone throw some light as to why does this occur.
> >> > Thanks in advance.
> >> >
> >> >
> >> > Regards
> >> > Kavitha
> >>
> >>
> >> 
> 
> 
>
date: Tue, 1 Jul 2008 21:03:00 -0700   author:   kavitha

Re: HrFindExchangeGlobalAddressList fails   
I think you are missing my point - you can copy the 
HrFindExchangeGlobalAddressList source code and step through it.
Download the Exchange 5.5 SDK.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"kavitha"  wrote in message 
news:C1FB0B6D-08A4-4C7C-8F31-FE191DF840CF@microsoft.com...
> if(FAILED( hRes = m_pMapiSession->GetMapiSession()->OpenAddressBook( NULL,
> NULL, 0, &pAddrBook)))
> {
> Log( "Error in opening address book" );
> }
> else
> {
> if(FAILED( hRes = HrFindExchangeGlobalAddressList( pAddrBook, &cbeid,
> &lpeid)))
> {
> sprintf(pszError,"HrFindExchangeGlobalAddressList failed. Error code =
> %x",hRes);
> Log( _T( pszError ) );
> }
> }
>
>
> Here the OpenEntry method is a success. But the
> HrFindExchangeGlobalAddressList fails.
>
> Let me explain the scenario once again.
>
> I have 2 exchange servers at  2 locations and we have in both locations 
> 1xAD
> & 1x Exchange. One instance of my application connected to one exchange
> server is working fine. The other instance is connected to another 
> exchange
> server. The other insztance is failing for 
> HrFindExchangeGlobalAddressList.
>
>
> "Dmitry Streblechenko" wrote:
>
>> *Which* MAPI method in HrFindExchangeGlobalAddressList fails?
>> Did you step through the source code?
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "kavitha"  wrote in message
>> news:2452D75B-F41E-4667-811F-50AF9A22864A@microsoft.com...
>> > The error code i get is 80004005. It says it is an unspecified error.
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Did you step through the code to see why the call fails?
>> >> HrFindExchangeGlobalAddressList source code should be in the Exchange 
>> >> 5.5
>> >> SDK.
>> >>
>> >> -- 
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy  - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "kavitha"  wrote in message
>> >> news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
>> >> >I have 2 exchange servers on a single domain. I have a application
>> >> >running
>> >> >on
>> >> > both the exchange servers. My application runs fine with one 
>> >> > exchange
>> >> > server.
>> >> > The same fails with HrFindExchangeGlobalAddressList failure on the
>> >> > other
>> >> > exchange server. Can anyone throw some light as to why does this 
>> >> > occur.
>> >> > Thanks in advance.
>> >> >
>> >> >
>> >> > Regards
>> >> > Kavitha
>> >>
>> >>
>> >>
>>
>>
>>
date: Tue, 1 Jul 2008 21:56:10 -0700   author:   Dmitry Streblechenko

Re: HrFindExchangeGlobalAddressList fails   
If you're having trouble locating it:
http://blogs.msdn.com/stephen_griffin/archive/2008/01/31/where-did-i-put-those-5-5-sdk-docs.aspx

"Dmitry Streblechenko"  wrote in message 
news:eBxC4$$2IHA.1808@TK2MSFTNGP04.phx.gbl...
>I think you are missing my point - you can copy the 
>HrFindExchangeGlobalAddressList source code and step through it.
> Download the Exchange 5.5 SDK.
>
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "kavitha"  wrote in message 
> news:C1FB0B6D-08A4-4C7C-8F31-FE191DF840CF@microsoft.com...
>> if(FAILED( hRes = m_pMapiSession->GetMapiSession()->OpenAddressBook( 
>> NULL,
>> NULL, 0, &pAddrBook)))
>> {
>> Log( "Error in opening address book" );
>> }
>> else
>> {
>> if(FAILED( hRes = HrFindExchangeGlobalAddressList( pAddrBook, &cbeid,
>> &lpeid)))
>> {
>> sprintf(pszError,"HrFindExchangeGlobalAddressList failed. Error code =
>> %x",hRes);
>> Log( _T( pszError ) );
>> }
>> }
>>
>>
>> Here the OpenEntry method is a success. But the
>> HrFindExchangeGlobalAddressList fails.
>>
>> Let me explain the scenario once again.
>>
>> I have 2 exchange servers at  2 locations and we have in both locations 
>> 1xAD
>> & 1x Exchange. One instance of my application connected to one exchange
>> server is working fine. The other instance is connected to another 
>> exchange
>> server. The other insztance is failing for 
>> HrFindExchangeGlobalAddressList.
>>
>>
>> "Dmitry Streblechenko" wrote:
>>
>>> *Which* MAPI method in HrFindExchangeGlobalAddressList fails?
>>> Did you step through the source code?
>>>
>>> -- 
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>> -
>>> "kavitha"  wrote in message
>>> news:2452D75B-F41E-4667-811F-50AF9A22864A@microsoft.com...
>>> > The error code i get is 80004005. It says it is an unspecified error.
>>> >
>>> > "Dmitry Streblechenko" wrote:
>>> >
>>> >> Did you step through the code to see why the call fails?
>>> >> HrFindExchangeGlobalAddressList source code should be in the Exchange 
>>> >> 5.5
>>> >> SDK.
>>> >>
>>> >> -- 
>>> >> Dmitry Streblechenko (MVP)
>>> >> http://www.dimastr.com/
>>> >> OutlookSpy  - Outlook, CDO
>>> >> and MAPI Developer Tool
>>> >> -
>>> >> "kavitha"  wrote in message
>>> >> news:9F6983C6-7F87-4008-98D0-EAEEAD95DB06@microsoft.com...
>>> >> >I have 2 exchange servers on a single domain. I have a application
>>> >> >running
>>> >> >on
>>> >> > both the exchange servers. My application runs fine with one 
>>> >> > exchange
>>> >> > server.
>>> >> > The same fails with HrFindExchangeGlobalAddressList failure on the
>>> >> > other
>>> >> > exchange server. Can anyone throw some light as to why does this 
>>> >> > occur.
>>> >> > Thanks in advance.
>>> >> >
>>> >> >
>>> >> > Regards
>>> >> > Kavitha
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
>
date: Wed, 2 Jul 2008 10:02:14 -0400   author:   Stephen Griffin

Google
 
Web ureader.com


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