CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
Win32::OLE MAPI Error


New User

Feb 20, 2008, 3:08 PM

Post #1 of 1 (1395 views)
Win32::OLE MAPI Error Can't Post

I am trying to create a service that accesses exchange information stores and checks for emails that have arrived. Everything works just fine when I run it on the command line but I get a very nice "Unspecified error" when I try to run as a service or schedule task. The error that I get is:
OLE exception from "Collaboration Data Objects":
[Collaboration Data Objects - [E_FAIL(80004005)]]
Win32::OLE(0.1707) error 0x80004005: "Unspecified error" in METHOD/PROPERTYGET "Folders"

The error occurs after I have created the MAPI object, logged in, and retrieved both the information store and the root folder. I have done similar tasks using VB and never had any issues like this.

This is a multi-threaded perl application using Perl 5.8.3.

Any help would be very appreciated.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives