Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 30th, 2008, 09:22 AM
Registered User
Join Date: Apr 2008
Location: chennai, tamilnadu, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automation Error

can not create OutLook Object in tomcat server."Automation server can not create object" error is occurred.

[outlookApp = new ActiveXObject("Outlook.Application");// here occur this issue.]

This code with out server(tomcat), it's execute.
but Server side only occur this issue.

Sample File follows:

<title> Naga Test </title>
<script language="JavaScript" type="text/JavaScript">
   var nameSpace = null;
   var outlookApp = null;
   var apptFolder = null;
   var apptItem = null;

    function AddCalendarAppointment()
    outlookApp = new ActiveXObject("Outlook.Application");
    nameSpace = outlookApp.getNameSpace("MAPI");
    apptFolder = nameSpace.getDefaultFolder(9);
    apptItem = apptFolder.Items.add("IPM.Appointment");
        apptItem.Subject ="SDFSD fsfd";
        apptItem.Body = "sdfsf";
        apptItem.Location = "sdfsfdsdf";
        apptItem.Start = "12:00 PM"+"12-25-2008";
        apptItem.End ="12:30 PM"+"12-25-2008";
        alert("Enable your ActiveX controls " +e);
<script language="JavaScript" type="text/JavaScript">
<input type="button" name="submit" value="SubmitBug" onClick="AddCalendarAppointment()" />

please give me a solution.


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation Error in Activex Exe jawu VB Components 2 June 14th, 2005 04:40 AM
Outlook Automation Error www2004 Pro VB 6 4 August 12th, 2004 09:09 AM
Automation Error 430 Pls Help sumanmukherjee VB Components 0 September 5th, 2003 01:21 AM
error 7866 when using automation pilmart Access 0 August 29th, 2003 02:57 PM

All times are GMT -4. The time now is 08:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.