DAS and Outlook and Report Scripts

I am running a BO script with 4.1.3 and sending the script to the DAS. In the script it contains code that sends a email to an end user once a report has been printed for them. When I try to run the script I get an:

“OutlLib.dll: Could not complete the operation because the service provider does not support it”

The server is running DAS as an NT service, when I stop the NT service the script runs fine and distributes email.

Does anybody have any suggestions? Does running B0 4.1.3 make a difference?

Thanks,

– Joel Klee
Thomson Consumer Electronics
kleej@tce.com
(317) 587-3255


Listserv Archives (BOB member since 2002-06-25)

I’ve been planning to convert our Document Agent to a service, but have put it off since I thought it might cause this type of a problem. There are two potential issues I can think of. One is OLE. Although I’m not certain of the fact, I have a strong suspicion that a service may not be able to make OLE calls. That would basically make using this type of functionality impossible. Has anyone sucesfully used an OLE call from a script in document agent running as a service?

If OLE will work as a service, the second potential issue you might be setting simply relates to the setup of the service. For mail to work from the service in question, you will need to insure that you set the service to not logon as the system account, but to logon as the NT account that will send the mail.

FYI,

Bob Molby
GE Lighting


Listserv Archives (BOB member since 2002-06-25)