Hope someone can help here, and this is the right group :-)

I have a periodic problem when creating mail-enabled users using a
VBscript:

-2147467259 - There is no Connection Agreement configured to export this
recipient to the Exchange 5.5 server.

I'm creating using Microsoft best practicies, descriped in this article:
http://support.microsoft.com/kb/327079

If I try running the script several times it completes with sucess, but this
is not a valid solution.

The enviroment:
Windows Server 2003 AD
Exchange 2003 standard, SP2

Looking forward to hear from you, as this i a very critical issue for our
solution.

Best wishes
Bo Berggreen

RE: Error when creating user with mailbox in script by BoBerggreen

BoBerggreen
Mon Oct 22 06:57:02 PDT 2007

I forgot to send the code ... Sorry ...

Here it is:
--- Snip Start ---
strCDOEXC =
"LDAP://dc01/CN=Students,CN=Elever,CN=InformationStore,CN=ExchangeServer,CN=Servers,CN=First
Administrative Group,CN=Administrative Groups,CN=TEST,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=test,DC=dk"
strMailLDAP = strCDOEXC

Set objMailbox = usr
objMailbox.CreateMailbox strMailLDAP

if Err.Number then
wscript.echo err.number & " - " & err.description
exit function
end if
--- Snip end ---
And I get this error:
-2147467259 - There is no Connection Agreement configured to export this
recipient to the Exchange 5.5 server.



"Bo Berggreen" wrote:

> Hope someone can help here, and this is the right group :-)
>
> I have a periodic problem when creating mail-enabled users using a
> VBscript:
>
> -2147467259 - There is no Connection Agreement configured to export this
> recipient to the Exchange 5.5 server.
>
> I'm creating using Microsoft best practicies, descriped in this article:
> http://support.microsoft.com/kb/327079
>
> If I try running the script several times it completes with sucess, but this
> is not a valid solution.
>
> The enviroment:
> Windows Server 2003 AD
> Exchange 2003 standard, SP2
>
> Looking forward to hear from you, as this i a very critical issue for our
> solution.
>
> Best wishes
> Bo Berggreen

RE: Error when creating user with mailbox in script by BoBerggreen

BoBerggreen
Wed Oct 24 00:58:00 PDT 2007

Ups ... me again :-)

I forgot to write that it's not everytime i run the script it fail, but only
sometimes.
Sometime i can run the script 4-5 times with error and then no error ?

Anyone got a clue ?