Outlook Service don't run. but the code runs fine in a console app

E

Entvex

HI

I am working on an application that searches other peoples calendar
and
saves the data for later use.

I wrote the application as a console application and it works just
fine. but
now I have converted it into a windows service. it builds and installs
fine
but it don't seem to run.

when I debug my service it never get to the tick event from the timer

any ideas :) ?

Greetings
 
K

Ken Slovak - [MVP - Outlook]

This uses the Outlook object model in the service?

If so you need to re-think your architecture, using the Outlook object model
is not supported in a service.
 
E

entvex

This uses the Outlook object model in the service?

If so you need to re-think your architecture, using the Outlook object model
is not supported in a service.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm


I am working on an application that searches other peoples calendar
and
saves the data for later use.
I wrote the application as a console application and it works just
fine. but
now I have converted it into a windows service. it builds and installs
fine
but it don't seem to run.
when I debug my service it never get to the tick event from the timer
any ideas :) ?
Greetings

Yes I am using OOM. Is there any other way to access other peoples
calendars can read them.
and allow the code to run as a windows service

Greetings
 
E

entvex

Sure. You can use CDO (server side so no security, not supported for managed
code), Extended MAPI (C++ or Delphi only) or a MAPI COM wrapper such as
Redemption (www.dimastr.com/redemption).

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.http://www.slovaktech.com/products.htm


Yes I am using OOM. Is there any other way to access other peoples
calendars can read them.
and allow the code to run as a windows service
Greetings

Thanks a lot :)

I'll look into that
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top