CDO crashes OL 2003

R

Rainer Rosenberger

Hello,

I've installed Exchange Server 5.5 SP4 and additionally CDO Hotfix KB818709
solving interworking problems with Outlook 2003. CDO works fine as long as I
use OL Xp or ealier or do not start OL 2003 on the same development system.
If OL2003 is started then the following simple CDO code crashes OL 2003 when
accessing the basic session properties:

Dim oCdoSession: Set oCdoSession CreateObject("MAPI.Session")
oCdoSession.Logon "", "", False, False
msgbox oCdoSession.Name & " " & oCdoSession.CurentUser.Name

After OL crashes the oCdoSession ist still active and working. The OL crash
shown in the event log looks like:

Bucket 124812399, bucket table 1,
Faulting application outlook.exe, version 11.0.6353.0, stamp 408f2937,
faulting module msmapi32.dll, version 11.0.6361.0,
stamp 40da1177, debug? 0, fault address 0x000024c5.

It seems that CDO is incompatible with the MSMAPI32.DLL comming with OL2003.

Any suggestions? Regards, Rainer Rosenberger
 
D

Diane Poremsky [MVP]

Outlook and exchange are not supported on the same machine. Older versions
tend to work 'okay' but Outlook 2003 is does not.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313889
http://support.microsoft.com/default.aspx?scid=kb;en-us;q266418

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/
 
R

Rainer Rosenberger

Hello Diane,

thanks for your hints. The referenced KB articles are talking about not
recommended, you say it's NOT WORKING. Is this your own or other users
observation or is it also already confirmed by MS. Is the problem MXS-MAPI
and OL-MAPI or is the problem CDO and OL-MAPI? In our production environment
MXS and Outlook are on different mashines, but Outlook and some
VB-Applications using CDO reside on the same PC.

Regards, Rainer Rosenberger
 
D

Diane Poremsky [MVP]

Do you have outlook installed on Exchange server machine? Based on this
comment:
I use OL Xp or ealier or do not start OL 2003 on the same development
system.

I understood that was the problem. But then you seem to indicate that's not
the case:
In our production environment
MXS and Outlook are on different mashines, but Outlook and some
VB-Applications using CDO reside on the same PC.

If Outlook is not installed on Exchange then it should work. If outlook is
installed on the exchange machine, then you need to use an older version of
outlook to make it work in the unsupported configuration. The problem with
Outlook and Exchange on the same machine is with the mapi dlls each version
uses, not cdo. If you mean Outlook 2002 and Outlook 2003 on the same
machine, you probably have a bad install as you can't have both versions on
the same computer.


--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/


Rainer Rosenberger said:
Hello Diane,

thanks for your hints. The referenced KB articles are talking about not
recommended, you say it's NOT WORKING. Is this your own or other users
observation or is it also already confirmed by MS. Is the problem MXS-MAPI
and OL-MAPI or is the problem CDO and OL-MAPI? In our production
environment
MXS and Outlook are on different mashines, but Outlook and some
VB-Applications using CDO reside on the same PC.

Regards, Rainer Rosenberger

Diane Poremsky said:
Outlook and exchange are not supported on the same machine. Older
versions
tend to work 'okay' but Outlook 2003 is does not.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313889
http://support.microsoft.com/default.aspx?scid=kb;en-us;q266418

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)
 
R

Rainer Rosenberger

Hello Diane,

in my development environment there is only one mashine hosting Mxs, Outlook
und the CDO based VB-Applications. But during development there is no
absolute need to activate the VB-Appliactions and Outlook at the same time.
For me it would be sufficient to run one of both Mxs Clients during
development or test.

More important is the production environment. Here Mxs is on a different
server, but OL and the VB-Applications will be active at the same time on
the client. So if CDO and OL2003 are compatible on our productional clients
then everything is fine. Your last reply sounds like this should be the
case.

Regards, Rainer Rosenberger


Diane Poremsky said:
Do you have outlook installed on Exchange server machine? Based on this
comment:
I use OL Xp or ealier or do not start OL 2003 on the same development
system.

I understood that was the problem. But then you seem to indicate that's not
the case:
In our production environment
MXS and Outlook are on different mashines, but Outlook and some
VB-Applications using CDO reside on the same PC.

If Outlook is not installed on Exchange then it should work. If outlook is
installed on the exchange machine, then you need to use an older version of
outlook to make it work in the unsupported configuration. The problem with
Outlook and Exchange on the same machine is with the mapi dlls each version
uses, not cdo. If you mean Outlook 2002 and Outlook 2003 on the same
machine, you probably have a bad install as you can't have both versions on
the same computer.


--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/


Rainer Rosenberger said:
Hello Diane,

thanks for your hints. The referenced KB articles are talking about not
recommended, you say it's NOT WORKING. Is this your own or other users
observation or is it also already confirmed by MS. Is the problem MXS-MAPI
and OL-MAPI or is the problem CDO and OL-MAPI? In our production
environment
MXS and Outlook are on different mashines, but Outlook and some
VB-Applications using CDO reside on the same PC.

Regards, Rainer Rosenberger

Diane Poremsky said:
Outlook and exchange are not supported on the same machine. Older
versions
tend to work 'okay' but Outlook 2003 is does not.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313889
http://support.microsoft.com/default.aspx?scid=kb;en-us;q266418

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top