Error during Sync-NAVTenant in NAV2015

rsaritzkyrsaritzky Member Posts: 469
Hi all,

We have a fairly large NAV2009 database upgrading to 2016 (240GB). First stop in the upgrade path is 2015. During the Synchronize of Schema (Task 7 on the upgrade document "Upgrading from Microsoft Dynamics NAV 2009 R2 or Microsoft Dynamics NAV 2009 SP1 to Microsoft Dynamics NAV 2015", The process runs about 10 minutes, then gets "stuck" on "Table 148 of 2516". After about 20 minutes, Sync-NAVTenant errors out with
Sync-NAVTenant : A connection to SQL server is no longer usable.
This could be caused by one of the following reasons:
* The server has been shut down manually or because of an error.
* The SQL server connection settings are not correct.
* A network failure has occurred.
* A hardware failure has occurred on the server or on your computer.
Try to connect again later or contact your system administrator.
At line:1 char:1
+ Sync-NAVTenant -ServerInstance DynamicsNAV80

The Application log shows this error:
Source: .Net SqlClient Data Provider
ErrorCode: -2146232060
Message: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

I have set the SQL timeout to 6000 seconds. However, I do not recall if I had restarted SQL after setting the new timeout, so I don't know if the update was saved and actually in the SQL configuration.

I am going to retry the process after the database recovers, but I am wondering if anyone has had issues with the Sync taking a long time.
Ron

Best Answer

Answers

Sign In or Register to comment.