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

by | Updated December 28, 2021 | Dynamics AX

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: “[Microsoft][SQL Server Native Client 11.0]TCP Provider: An existing connection was forcibly closed by the remote host.

Object Server 01: SQL diagnostics: [Microsoft][SQL Server Native Client 11.0]TCP Provider: An existing connection was forcibly closed by the remote host.

Connect information was: Userid = [], Database = [MicrosoftDynamicsAX], Server = [SQLServerName], 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

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

january

13jan11:00 am12:00 pmConfab with Stoneridge Livestream - Technology in 2021 Recap

18jan12:00 pm1:00 pmOpportunities and Threats for the Commodity Processor in 2022

19jan10:00 am11:00 amTax Compliance and Coffee – a Virtual Discussion

26jan11:00 am12:00 pm7 Ways Manufacturers Can Stop Cyber Attacks

26jan2:00 pm2:45 pmKeep Your Data Secure and Move to the Cloud with GP

27jan11:00 am12:00 pmConfab with Stoneridge Livestream - The Year of Integrations

february

10feb11:00 am12:00 pmConfab with Stoneridge Livestream - Microsoft Teams and Microsoft Dynamics Integration

23feb10:00 am10:30 amDeciphering Manufacturing KPIs – What Your Data is Really Telling You

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X