Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Problem On Creating Mailbox in Exchange 2000 by ASP


Message #1 by "Monster" <monster_rl@y...> on Fri, 15 Mar 2002 16:01:10
Dear all,

Is .. M_Me again..

Again, I still can't solve the problem about the ASP coding which is 
used to create the mailbox in Exchange 2000 Server. Firstly, THANX for the 
provision of the source code to create the mailbox by using the WSF 
(window script File)which is in VB script language and it is downloaded 
from the CDOLIVE -- http://www.cdolive.net/download/adusermanagement.zip --
CreateMailboxEnabledUserWithCDOEXM.wsf --. It can run smoothly to create 
the active Directory user and the mailbox. Since it is VB script, I tried 
to Cut out that part of the Script from the WSF and run that part as ASP. 
However, it is STOPPED at the Following LINE:
-------------------------------------------------------------------
objPerson.DataSource.SaveTo strLDAP



Following is the ERROR it RETURNED:
--------------------------------------------------------------------
Multiple-step OLE DB operation generated errors. Check each OLE DB 
status value, if available. No work was done. -2147217887

(0x80040E21)
---------------------------------------------------------------------

I am wondering is there are problem between the connection of ASP and 
the LDAP. IS that ASP can directly connect with the LDAP by using CDO?
OR there are any necessary driver such as the OLE DB in the connection 
of ASP and the Excahnge 2000 ? Also, the code is ran in the same machine 
with Window 2000 with IIS and Exchange 2000 server. Is this cause any 
problems ? 

(SHOCKING -- is there no way ....to create the mailbox in E2K by using 
ASP?-- Please don't scare little monster #.#|| )


Hope someone here can help help me .....  >.<# Really exchausted to search 
for the solution...le ...

THANX for your attention.

Best Regards,

Monster
Message #2 by "Siegfried Weber" <sweber@c...> on Tue, 26 Mar 2002 23:13:44 +0100
I think it is a permissions issue. What account is used to run the ASP
application? Does this account have appropriate permissions?

<Siegfried />

> -----Original Message-----
> From: Monster [mailto:monster_rl@y...]
> Sent: Friday, March 15, 2002 5:01 PM
> To: ASP CDO
> Subject: [asp_cdo] Problem On Creating Mailbox in Exchange 2000 by ASP
>
> Dear all,
>
> Is .. M_Me again..
>
> Again, I still can't solve the problem about the ASP coding which is
> used to create the mailbox in Exchange 2000 Server. Firstly, THANX for
the
> provision of the source code to create the mailbox by using the WSF
> (window script File)which is in VB script language and it is
downloaded
> from the CDOLIVE --
http://www.cdolive.net/download/adusermanagement.zip -
> -
> CreateMailboxEnabledUserWithCDOEXM.wsf --. It can run smoothly to
create
> the active Directory user and the mailbox. Since it is VB script, I
tried
> to Cut out that part of the Script from the WSF and run that part as
ASP.
> However, it is STOPPED at the Following LINE:
> -------------------------------------------------------------------
> objPerson.DataSource.SaveTo strLDAP
>
>
>
> Following is the ERROR it RETURNED:
> --------------------------------------------------------------------
> Multiple-step OLE DB operation generated errors. Check each OLE DB
> status value, if available. No work was done. -2147217887
>
> (0x80040E21)
> ---------------------------------------------------------------------
>
> I am wondering is there are problem between the connection of ASP and
> the LDAP. IS that ASP can directly connect with the LDAP by using CDO?
> OR there are any necessary driver such as the OLE DB in the connection
> of ASP and the Excahnge 2000 ? Also, the code is ran in the same
machine
> with Window 2000 with IIS and Exchange 2000 server. Is this cause any
> problems ?
>
> (SHOCKING -- is there no way ....to create the mailbox in E2K by using
> ASP?-- Please don't scare little monster #.#|| )
>
>
> Hope someone here can help help me .....  >.<# Really exchausted to
search
> for the solution...le ...
>
> THANX for your attention.
>
> Best Regards,
>
> Monster

  Return to Index