Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1508
Date: 1/27/2006
Time: 3:58:00 PM
User: ABC\NAVCRMUser
Computer: BL-SLQ02
Description:
Windows was unable to load the registry. This is often caused by insufficient memory or insufficient security rights.
DETAIL - A required privilege is not held by the client. for C:\Documents and Settings\NAVCRMUser\Local Settings\Application Data\Microsoft\Windows\\UsrClass.dat
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1505
Date: 1/27/2006
Time: 3:58:00 PM
User: ABC\NAVCRMUser
Computer: BL-SLQ02
Description:
Windows cannot load the user's profile but has logged you on with the default profile for the system.
DETAIL - A required privilege is not held by the client.
Comments
Is you user a domain user or a local user on the NAS box? Usually opening Outlook under the user creates the right profile on the machine and from then on you should be able to run the email dispatcher.
Did you try restarting the service? Restarting the machine?
RIS Plus, LLC
It's a domain user. Outlook opens fine when we log in with that user on the NAS Server (using Remote Desktop). So the Outlook profile has been created.
Service has been restarted.
I assume that your Navision license has enough NAS instances. This feels to me like the user doesn't have enough permissions on some folder that the service is trying to access.
What does the batch execution controller do? Maybe it's due to the things you're trying to automate that it doesn't know how to do that as a service.
RIS Plus, LLC
2) On domain controler you can select which accounts can run as services. Check this
3) Try to add this user account into Administrators group on the local machine of the NAS server
4) Sometime I had this error (creating temp profile etc.) on my notebook. I found that the notebook was added into domain but the Computer account in AD did not exist.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
There is one NAS instance running with the parameters 'MAILLOG, BATCH'.
MAILLOG: is the standard Navision parameter to store mails inside CRM.
BATCH: is a new parameter to sync contacts to a public folder. This is basically the same as the function StartOutlookSyncronization from Codeunit 1, which is executed when a Salesperson has a checkmark on the field "Enable Syncronization". All output is disabled in the "Synchronize with Outlook" report.
Next time I'm at the client's location, I'll do the trick with a form containing a button with the code:
cduCodeunit1.NASHandler('MAILLOG,BATCH');
When run as a normal user, I can see if it runs fine, and can use the debugger in case it doesn't. And I can try to run it only with the 'BATCH' parameter, as both are using "NS Outlook Synchronization Handler" automation.
=1"
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.