How to Fix ‘An existing connection was forcibly closed by the remote host’ error in Dynamics AX

By Jackie Olson | December 27, 2021

Dynamics AX Object Server service (AOS) will not start

In a recent troubleshooting situation with a client we came across the error message ‘An existing connection was forcibly closed by the remote host’ error in Dynamics AX. Below I outline the issue, the cause of this error and steps and resources to fix it.

ISSUE:

After restarting the SQL server service, we then tried to start the Microsoft Dynamics AX Object Server (AOS) service. AOS will not start! We saw the following errors in Application Event Viewer on the AOS server.

Object Server 01: Fatal SQL condition during login. Error message: “TCP Provider: An existing connection was forcibly closed by the remote host.

Object Server 01: SQL diagnostics: TCP Provider: An existing connection was forcibly closed by the remote host.

Connect information was: Userid = [], Database = , Server = , DSN = [], Other = []

 

CAUSE:

The customer had just disabled TLS 1.0.

We saw Microsoft SQL 2012 native client on SQL server was version 11.4.7562.6 in Programs and Features in Control Panel.

On the AOS server, the Microsoft SQL 2012 native client was version 11.0.xxxx. You will need a newer version.

 

An existing connection was forcibly closed by the remote host’ error SOLUTION:

The fix is to update the Microsoft SQL 2012 Native client to a higher version on the AOS.

Download Microsoft SQL Server 2012 Native Client – QFE and install it on the AOS server to resolve the issue.

Download Microsoft® SQL Server® 2012 Native Client – QFE from Official Microsoft Download Center

Reference:

Disabling TLS 1.0 and the impact on Dynamics AX 2009 & AX 2012 – Microsoft Dynamics AX Community

 

Related Posts

Recommended Reading:

6.29.22 Dynamics CRM

Reduce Manual Data & Increase Productivity with Dynamics 365 for Sales

Dynamics 365 for Sales has a ton of great features to help automate processes for you and your team to […]

Read the Article

Dynamics 365 Business Central Boolean Field Bug Temporary Fix

If you are a Dynamics 365 Business Central cloud (SaaS) customer who is using Edge or Chrome to run the […]

Read the Article

Using Non-Sequential Numbering to Prevent Locking In Your Dynamics 365 Business Central System

Running into locks in your system? Enable non-sequential numbering on your number series to prevent number series locking issues! As […]

Read the Article
6.24.22 Dynamics GP

Uncommonly Used Features: Setting Up Account Categories in Dynamics GP

This is the final part of my current series on Uncommonly Used Features in Dynamics GP. In this post, I […]

Read the Article

Increase User Productivity in Dynamics 365 Business Central with These 10 Tips

There are constantly evolving ways for you to increase user productivity in Dynamics 365 Business Central. Here are 10 tips […]

Read the Article

Star Tribune Lists Stoneridge as a Top 200 Workplace for 2022

Stoneridge Software’s emphasis on creating a positive and flexible culture has earned recognition as a top workplace in Minnesota. The […]

Read the Article
6.14.22 Dynamics GP

Uncommonly Used Features – Reconciling Sub-ledger to GL using the Reconcile Routines in Dynamics GP

As we continue the uncommonly used features series, with this post I want to show you how to reconcile your […]

Read the Article

Organize and Prioritize Your Resources with Dynamics 365 Field Service

As a manager, Dynamics 365 Field Service lets you optimize the use of your employees, their skillsets, and other resources […]

Read the Article

Stoneridge Software Cracks the Top 20 on Bob Scott’s Top 100 VARs 2022

Stoneridge Software is ranked at #20 on Bob Scott’s Top 100 VARs for 2022. Each year, industry publisher, Bob Scott, […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X