Can't connect to Outlook 2007

Posted on 2008-10-24
Medium Priority
Last Modified: 2013-12-18
In my organization we are shifting mail platform from Lotus Notes to Outlook 2007. Because of that, I I need to create calendar appointments in Outlook that were previously created in Lotus Notes.

I am trying to run a VB Script file (.vbs file) with the following code line:
Set objOutlook = CreateObject("Outlook.Application")

When I run it, I get the following error on that line:
ActiveX can't create object: 'Outlook.Application'

I get a similar error when I try to connect directly from Lotus Notes 7.0.3 (in LotusScript, which is similar to Visual Basic) with the line:
Set appOutl = CreateObject("Outlook.Application")

Then I get the error:
"Cannot create automation object"

So, it seems to me, that there is some setup or configuration that I need to do to make this work. Any suggestions?
Question by:kasperEH
  • 4
  • 3
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22794977
Save yourself a lot of time (and money), and buy some conversion tool. There are many available, like

By the way, what a pity you're moving to Outlook, now there's R8... But if you use only mail on Domino, and no applications, I can understand... Still...

Author Comment

ID: 22795318
We are planning to still use the Notes client for applications. That's why we need the buttons inside Domino applications that create Notes appointments to create Outlook appointments. We ARE using a conversion tool to convert existing mails and calendar appointments, but I am talking about new appointments created in Domino applications. We don't want to start up a conversion tool every time a user clicks on a Create Appointment button in this application. There are also other areas where we need to access Outlook from other applications, but it's not working.
LVL 46

Accepted Solution

Sjef Bosman earned 750 total points
ID: 22795900
Ah, now I understand, me silly. Your Outlook, is that Outlook via DAMO or POP3, or do you have an Exchange server running?

If you cannot use CreateObject("Outlook.Application"), I assume there's something wrong with the installed Office environment. Maybe a reinstall is required.

There is of course the Calendar Connector in Domino, AFAIK but it would require that you have Domino and Exchange to exchange calendaring information continuously.

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

LVL 46

Expert Comment

by:Sjef Bosman
ID: 22795929

Author Comment

ID: 22796161
We have an Exchange Server running.

I have done a reinstall of Office 2007 and now I can actually create an appointment from within Notes. So far, so good! But now I get an "Automation object error" in Notes after creating the appointment in Outlook. I will post an update on monday after looking more into this.
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22796533
If you have Exchange and Domino running, also in the future, you could try to create appointments in the Notes environment and let the Calendar Connector do its job.

Have a nice weekend!

Author Comment

ID: 22819972
We are not planning to continue with Domino mail files on the server, and I think that would be necessary to use the Calendar Connector.

Anyway,  it worked after the reinstall, so I'll accept that as a solution.

Thanks for helping me.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A few solutions to a problem some of us have been having when trying to add Hostgator email accounts to Outlook 2016 (will probably work with Outlook 2013 as well).
Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question