Outlook Synchronization Timeout Issue:
Running Microsoft Dynamics NAV 2009 SP1 in a three tier environmen:
- Application server
- SQL Database Server
- Clients
Outlook synchronization has been installed, NAS has been installed and running. In Outlook, Connection connects perfectly, but when I go to Synch I get the following error:
A Microsoft Dynamics NAV Synchronization Add-In Error Occurred
The response from Microsoft Dynamics NAV Has not been received because of connection timeout. Please check if the Microsoft Dynamics NAV Server is running and try again later. If the problem persists increase the timeout value in the configuration file. Please contact your system administrator.
Troubleshooting:
- Uninstalled/re-installed Outlook Synch
- Uninstalled/re-installed NAS
- Checked Microsoft Dynamics NAV Server is running -- it is!
- Increased the timeout value in the configuration file
I have literally tried everything that I can think of, looking for a little help. ](*,)
Thanks!
0
Comments
The way the integration works is that outlook using cfront or webservice to write a record into this table and has the xml data store in the xml table.
NAS is monitoring this table Job Queue Entry and when it finds the record it processes it and write back in Job Queue Response 473 table
I suggest to look and see that NAS is running with startup Parameter JOBQUEUE
and that it can processes and that records get inserted into this table.
Check event log as well on NAS.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I checked Job Queue Entry (Table 472) and there is not a record in there.
I am currently using a startup parameter of OSYNCH, I will change to JOBQUEUE and try again.
I also do not see anything in the Event Log.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Update:
I switched over to the correct company #-o and took a look at Table 472 and yes I see a ton of records. I will switch my startup parameter from OSYNCH to JOBQUEUE and see if that works.
Thank you so much for your help.
Jesse
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
OK, so I changed the startup parameter to JOBQUEUE, tested the connection (Success!), clicked Synchronize and got the same message..
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
So I cleaned out Tables 472 and 473 and still got the same error message.
If it helps - I click on the Synchronize button and what happens is that it goes through the Process Synchronization Schema sync just fine and then stalls once it gets to the Synchronizing Outlook Items. It does not move from that point and timesout.
Once again, thanks for you help!
Jesse
I'm assuming you have programming experince.
turn NAS off. Instead run the job queue codeunit from classic client.
I don't have NAV infront of me but the CU can be found if you design CU 1 and search for JOBQUEUE, You'll find the CU Variable that it run.
once you run the codeunit turn on the debugger and put a breakpoint where it finds a jobqueueentry record.
then try to synch from outlook. NAV will stop at the breakpoint and then follow through on what NAV is doing. and why it does not respond to outlook.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Put the breakpoint in function getnextrequest
IF Found THEN BEGIN
JobQueueEntry.CALCFIELDS(XML);
IF JobQueueEntry."Recurring Job" THEN BEGIN
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanks!!
make sure there are no records in the table JobQueueEntry table.
put breakpoints in CU 448
IF JobQueueEntry."Recurring Job" THEN BEGIN
turn on debuger.
run CU 448 from NAV client.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanks for the input!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n