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: Thu, 6 Dec 2007 01:08:12 -0800 (PST),    group: microsoft.public.exchange.development        back       


Get Exchange Server Status   
Hi All,

  We have a requirement where a windows service needs to be written
to
poll the exchange server and look for the status of it.  Exchange
Server Version 2000.
We tried using HrGetExchangeStatus MAPI by passing the exchange
server
name. But it returned with the HRESULT value 0x80004005 even when
Exchange Server is running.


If this is the not correct place for this question, let me know the
forum to log this.


Appreciate your help on this.


Thanks,
Geetha R
date: Thu, 6 Dec 2007 01:08:12 -0800 (PST)   author:   Geetha

Re: Get Exchange Server Status   
Geetha  wrote in news:d0c214d0-15a3-4e75-8d66-
b31b501922ce@e6g2000prf.googlegroups.com:
> We tried using HrGetExchangeStatus MAPI by passing the exchange
> server
> name. But it returned with the HRESULT value 0x80004005 even when
> Exchange Server is running.

 If you get the EDK source and step through it, which bit of 
HrGetExchangeStatus is failing? All it does is make queries to the SCM, so 
at worst you could try writing your own code to do the same thing.

 -- dan
date: Thu, 06 Dec 2007 07:52:11 -0800   author:   Dan Mitchell

Google
 
Web ureader.com


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