Solved

Can't connect to Outlook 2007

Posted on 2008-10-24
7
951 Views
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?
0
Comment
Question by:kasperEH
  • 4
  • 3
7 Comments
 
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
http://www.exportnotes.com/calendar
http://www.lotus-notes-export.com/XitNotes.asp
http://www.freedownloadmanager.org/downloads/lotus_notes_to_outlook_converter_software/
http://search.techrepublic.com.com/search/ibm+lotus+notes+and+microsoft+outlook.html

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...
0
 

Author Comment

by:kasperEH
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.
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 250 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.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22795929
0
 

Author Comment

by:kasperEH
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.
0
 
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!
0
 

Author Comment

by:kasperEH
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.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

713 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