Hi Mike
I have a client on 6.5.13, who have just moved to a Terminal server on Window 2012 and using Outlook 2010.
They have run into issue with the stability of emailing their invoice out to their customer.
After the email button is clicked, we can see Crystal Report printing screen quickly pops up and disappear and the next things they get is a JIwa pop up box saying.
This action cannot be completed because the other application is busy. Choose 'Switch to' to activate the busy application and correct the problem.
Once you click on Switch To button, you get
Error: ActiveX Component can't create object
Module: clsmailMessage.SendUsingOutLook
Their IT support company create a jscript (see below) to test the issue. This should open a new test email and display it to you…
it’s worked fine during testing, which Jiwa still cannot email out, which initially would suggest the problem is in Jiwa rather than the Operating System/Environment.
They have done this script in jscript and Windows Scripting Host, but I think the process is much the same… The script they have written is below. I hope this helps.
/* Define Outlook constant for Mail Item */
var olMailItem = 0;
/* Create the Outlook Mail Item */
Outlook = new ActiveXObject("Outlook.Application"); // I believe this is the line/action Jiwa is tripping up on
MailItem = Outlook.CreateItem(olMailItem);
/* Setup and show the Mail Item */
MailItem.to = "[email protected]";
MailItem.Subject = "A test email";
MailItem.Body = "Some text to fill out the email.\n\nJason.\n";
MailItem.Display();
WScript.Echo("Done");