From: Alon on
Hi,


I desperetly seek for help here.


I'm running this script from my local machine (2003 server) and try to
connect to the exchange on a different server. I have all the CDO
obejcts installed:


1 Set iExs = CreateObject("CDOEXM.ExchangeServer")
2 iExs.DataSource.Open "inquire-exch"


4 For Each storegroup In iExs.StorageGroups
5 Next


As a result, I'm getting the following error on line number 4:


C:\a.vbs(5, 1) (null): There is no such object on the server.
Facility: LDAP Provider
ID no: 80072030
Microsoft CDO for Exchange Management


when running the script on the exchange serveri itself, no problem
occur. I also have administrator priviliges on the exchange server.


Any idea what could be the problem here?


Thanks!
Alon

From: "Michael Harris (MVP)" <mikhar at mvps dot on
> I desperetly seek for help here.

You might have better luck in:

microsoft.public.exchange.admin

>
>
> I'm running this script from my local machine (2003 server) and try to
> connect to the exchange on a different server. I have all the CDO
> obejcts installed:
>
>
> 1 Set iExs = CreateObject("CDOEXM.ExchangeServer")
> 2 iExs.DataSource.Open "inquire-exch"
>
>
> 4 For Each storegroup In iExs.StorageGroups
> 5 Next
>
>
> As a result, I'm getting the following error on line number 4:
>
>
> C:\a.vbs(5, 1) (null): There is no such object on the server.
> Facility: LDAP Provider
> ID no: 80072030
> Microsoft CDO for Exchange Management
>
>
> when running the script on the exchange serveri itself, no problem
> occur. I also have administrator priviliges on the exchange server.
>
>
> Any idea what could be the problem here?
>
>
> Thanks!
> Alon

--
Michael Harris
Microsoft MVP Scripting
http://maps.google.com/maps?q=Sammamish%20WA%20US