?
Solved

Reading Outlook info using CDO from a Windows System Service

Posted on 2003-03-20
3
Medium Priority
?
157 Views
Last Modified: 2010-04-07
I'm having problems getting a system service to access Outlook Exchange Global Address Book.
If the code (VB using CDO) is run as an executable, all is fine but not when running as a service.
What should I know that I don't?
0
Comment
Question by:cagzie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
Neo_mvps earned 300 total points
ID: 8179890
Hint: Permissions

Answer: If you are running a service as local system, it will not have access to the mailbox.  The solution will have to run under a domain account that has access to the mailbox in question. (I'm assuming that you have already solved the equation of using a dynamic profile and calling the logon function correctly.)
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question