NSOutlookSynchronizationHandler not designed for a NAS?

Henry@columbus
Member Posts: 24
I’m trying to run a outlook synchronization from a NAS, but I keep getting a message “The Outlook handler cannot be started.”.
This is due to the following code: (codeunit 5072, function Logon)
Here is my code from codeunit 1
If I run the code with a standard client, everything is working fine. It looks like Navision has protected the olHandler automation control from being executed from within a NAS.
Does anybody has any experience or a solution for this problem?
Thanks
This is due to the following code: (codeunit 5072, function Logon)
IF NOT CREATE(OLHandler) THEN BEGIN MESSAGE(CannotStartOutlookHandler);
Here is my code from codeunit 1
// - Outlook syncronisation IF (COPYSTR(Parameter,1,4) = 'OUTL') THEN BEGIN IF (USERID <> '') AND (Salesperson.READPERMISSION) THEN BEGIN Salesperson.SETRANGE("Navision User ID",USERID); Salesperson.SETRANGE("Enable Synchronization",TRUE); IF Salesperson.FIND('-') THEN BEGIN StartOutlookSyncronization; CGNASStartedinLoop := TRUE; END; END; END; // + Outlook syncronisation
If I run the code with a standard client, everything is working fine. It looks like Navision has protected the olHandler automation control from being executed from within a NAS.
Does anybody has any experience or a solution for this problem?
Thanks
0
Comments
-
-
-
Outlook is installed on the NAS machine.
The NAS is running under a salesperson account, witch has been set up in Navision under Salesperson->Outlook intergration0 -
-
So if you log on to the NAS machine with the salesperson account and run the outlook integration manually from a Navision client, it runs fine?0
-
Exactly.
Even when I create a codeunit witch only creates the OLHandler, it runs fine in a client but not in the NAS.0 -
And on the logon tab of your NAS service, you specify the salesperson account?
Are you using NAS-CLASSIC or SQL?
One other thing that keeps screwing things up for me is the nettype. NAS is installed with TCPS by default, and somehow that just doesn't work with Navision. All your Navision services (database server as well as NAS) must be installed with nettype TCP.
You can't change the nettype on NAS-SQL (it's a bug that they say they fixed in SP1), so you'll have to change that using the command line. Let me know if you need help with that.0 -
May be that the automation need GUI from some reason but NAS is W/O GUI... it is question for MS. Did you sent it as service incident on partnersource?0
-
I’ve tested the NAS (NAS-classic, TCP) and it is working fine.
I think Kine is right about the NAS needing a GUI, or MS has designed the DLL only to work with a Navision client. Never the less it will not work with a NAS, and that’s a same…
Thanks for your help.
Henry0 -
Yes it sounds like you need to get some MS support. Let us know what the result is please
.
0 -
Did you take a look at:
Technical White Paper: Microsoft Business Solutions - Navision Relationship Management 3.60 and 3.70
this is the Content:
Content
Relationship Management–Navision Technical White Paper 1
Navision Integration with Outlook 1
E-Mail Logging for MS Exchange Server 2
Installation & Setup 3
General Requirements 3
A. Setting Up the Exchange Server 3
B. Setting Up Navision 3
C1. Using the Navision Application Server 4
C2. Using the Navision Client 4
Troubleshooting 6
Outlook Client Integration 7
Setup Issues 7
Technical Issues 8
Limitation Issues 9
User Impact Issues 11
you can download it from partnersource.0 -
I heard that the problem is fixed in one of the latest updates of Navision 4.0. The dll should be available for NAS now.Best regards,
Dmitry0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions