kaisersoze Posted March 27, 2006 Posted March 27, 2006 My application (daemon) runs as stand alone but when i start the service which calls the daemon gives me an error. The daemon checks for emails using MAPI control. Does anyone have any idea. Quote Note: I think as a programmer not as a human, so use my answer at your will
shaul_ahuva Posted March 28, 2006 Posted March 28, 2006 A common source of problems with services are security-related. What user account is the service running under? Quote
kaisersoze Posted March 28, 2006 Author Posted March 28, 2006 tried local service and admin account also A common source of problems with services are security-related. What user account is the service running under? I tried local service and admin account also, but i still get same error. Signon error. My application connects to Outlook and downloads emails with attachments and starts an application. Quote Note: I think as a programmer not as a human, so use my answer at your will
Administrators PlausiblyDamp Posted March 28, 2006 Administrators Posted March 28, 2006 You will need to create an outlook profile for the account the service is running as, try logging onto the local machine as admin, open outlook and configure the profile etc. so you can send / receive e-mail while logged on. Log out and then get the service to use the admin account and try again. Also I would generally recommend against running services with admin permissions unless they really, really, really need it (and even then I would think twice), create a new account for the application and configure it as above and use that instead if you are going to be a bit more secure.... Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.