Error Creating Outlook.Application with Outlook 2007

S

Scott McBurney

This is kind of baffling me....

We have a small application that creates an instance of
"Outlook.Application" and uses that to create an email message and populate
it with some data.

This has worked fine for Outlook 2003 and earlier versions.

With Outlook 2007, when we try to create the object, we are sometimes
getting an error returned - error 287 "Application-defined or object-defined
error". And this seems to be very machine specific. Some machines work
fine, others always return this error.

I found a small blurb while google searching that this may be related to
Outlook 2007 integration with virus scanners? Would this error be returned
if there is no virus scanner installed on the machine? I couldn't find any
doc on MSDN in the object model about this.
 
S

Scott McBurney

FYI - we get that error if outlook 2007 is not currently running when we try
to create the application object.

if outlook 2007 is running, then it works fine.

And this only happens on certain machines, not all. But on those machines,
it happens 100% of the time.
 

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