Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: [OT] MAPI.Session and NT Service Accounts

by FitTrend (Pilgrim)
on Mar 03, 2005 at 16:18 UTC ( #436268=note: print w/ replies, xml ) Need Help??


in reply to [OT] MAPI.Session and NT Service Accounts

Without seeing any code, I will speculate that the NT Service account is logging on as a user that doesn't have the correct rights to your OLE objects. I've run into these types of problems before using the default login user of LocalSystem. For testing purposes, make the default login a different user (or admin for testing) and see if it works.

LocalSystem, cannot access certain resources like network resource by default.

Hope this helps


Comment on Re: [OT] MAPI.Session and NT Service Accounts
Re^2: [OT] MAPI.Session and NT Service Accounts
by maa (Pilgrim) on Mar 04, 2005 at 07:37 UTC

    thanks, FitTrend

    I may resort to using LocalSystem then calling Win32::AdminMisc::LogonAsUser although I'm not sure it would make a difference - the account has all the appropriate network access and has local admin rights.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://436268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-09-30 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (368 votes), past polls