|
 |
asp_cdo thread: CDO problems in vb
Message #1 by "Benny Olsson" <Benny.Olsson@D...> on Thu, 2 Nov 2000 07:28:20 -0000
|
|
I know this isn't really the correct newsgroup for this, but I couldn't
find any better, and I really need some help.
I'm using vb 6.0 and CDO 1.21 to create a Com-object wich will be used
from an asp page to get some calendar information from a Exchange 2000
(final release) server.
I've been using the exmaple code that comes with the book "Professional
CDO programming", but all it results in is this error message:
"
Run-time error '-2147221233(8004010f)';
An unexpected error has occurd.
MAPI was unable to load the information service EMSMDB.DLL. Be sure
the service is correctly installed and configured. [MAPI 1.0 -
[MAPI_E_NOT_FOUND(8004010F)]]
"
I'm using the same profile from the program as I do from Outlook 2000, and
it works perfectly from outlook. I tried and reinstall outlook 2000 and I
tried to reinstall CDO 1.21, but still nothing works.
Please help me with this one!
Thanks in advance.
Benny Olsson
Message #2 by "Siegfried Weber" <sweber@c...> on Wed, 8 Nov 2000 21:39:27 +0100
|
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C049C3.FCDB308D
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sounds like you're trying to use a so-called 'stored profile' (created
with a certain user account & Outlook) from within an ASP app/resp COM
component. This will not work because this profile is only valid for the
user who created it and it can't be used from within ASP/COM at all.
You need to use a so-called 'dynamic profile'. Check
http://www.cdolive.com/asp.htm for some pointers.
</Siegfried>
> -----Original Message-----
> From: Benny Olsson [mailto:Benny.Olsson@D...]
> Sent: Thursday, November 02, 2000 8:28 AM
> To: ASP CDO
> Subject: [asp_cdo] CDO problems in vb
>
>
> I know this isn't really the correct newsgroup for this, but
> I couldn't
> find any better, and I really need some help.
> I'm using vb 6.0 and CDO 1.21 to create a Com-object wich will be used
> from an asp page to get some calendar information from a Exchange 2000
> (final release) server.
> I've been using the exmaple code that comes with the book
> "Professional
> CDO programming", but all it results in is this error message:
> "
> Run-time error '-2147221233(8004010f)';
>
> An unexpected error has occurd.
> MAPI was unable to load the information service EMSMDB.DLL. Be sure
> the service is correctly installed and configured. [MAPI 1.0 -
> [MAPI_E_NOT_FOUND(8004010F)]]
> "
> I'm using the same profile from the program as I do from
> Outlook 2000, and
> it works perfectly from outlook. I tried and reinstall
> outlook 2000 and I
> tried to reinstall CDO 1.21, but still nothing works.
> Please help me with this one!
>
> Thanks in advance.
> Benny Olsson
>
> ---
> Wrox Professional Web Developer Conference II
> http://www.wroxconferences.com/WebDevEurope
> November 29th - December 1st 2000, Amsterdam, Netherlands
> Create powerful distributed web applications serving you now and
> in the future. From ASP+ and VB.NET to XML and SQL Server 2000
>
>
|
|
 |