Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Error during Install and run of System diagnostics service in Ax2012R3

Posted on by 742
Hi Everyone,
Need urgent help on below issue. Thank you in advance.
I was trying to install the System Diagnostic service in my Ax2012R3 environment.
I have followed the steps of msdn mentioned on below link,
But during installation, at Step No. 10 that is On the Select private certificate page, the name of the certificate is displayed. Click Next.,
I received pop up warning as below,
"Unable to connect Lifecycle services to verify the X509 certificate for the System Diagnostic service.Do you want to continue?"
pastedimage1589966184812v1.png
And I clicked on Yes and continued with Step 11 that is, On the Specify service account page, enter the service account and password, and then click Next.
After that the service got installed in my system and I can see it in the services.msc in running state.
But when I tried to open the icon on my desktop named "Microsoft Dynamics AX Lifecycle Services Diagnostic Service Discovery."  to discover environments below error pops up,
pastedimage1589966312032v2.png
When I checked the event log, I see below error
pastedimage1589966365326v3.png
"
Web Service Call Failed: An error occurred while making the HTTP request to https://diagservice.lcs.dynamics.com/externalservices.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
 Retry attempt 0
"
  • Suggested answer
    Rhushikesh R Profile Picture
    Rhushikesh R 742 on at
    RE: Error during Install and run of System diagnostics service in Ax2012R3

    Hi Everyone,

    We raised the ticket to Microsoft and the issue has been resolved.

    The issue was with the enabling of TLS 1.2

    Below are the steps that we followed,

    1. Run below Powershell commands one after another. Microsoft said these 2 commands will enable TLS 1.2 in the server.

     

    Set-ItemProperty HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type dword -Force -Confirm:$false

     

      

    Set-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type dword -Force -Confirm:$false

     

    1. Uninstalled LCS diagnostic service
    2. Restarted the server
    3. Downloaded & installed the LCS diagnostic service again and created & uploaded new certificate during installation.

     

    By following above steps, we did not encounter any warning / error.

    The Ax2012 R3 environment has been uploaded successfully using Discovery tool and has generated the required analysis report on LCS.

  • Yuji Imaoka Profile Picture
    Yuji Imaoka on at
    RE: Error during Install and run of System diagnostics service in Ax2012R3

    The same error happens if your network blocks accessing *.dynamics.com.

    Please check it with fiddler to see which URL is blocked.

  • Rhushikesh R Profile Picture
    Rhushikesh R 742 on at
    RE: Error during Install and run of System diagnostics service in Ax2012R3

    Hi Will,

    Do you believe the solution mentioned on below blog could work in my case as well.

    community.dynamics.com/.../system-diagnostics-tool-lcs-error

    If you check the above blog, the event log and error mentioned in blog is same as in my case, but that error has popped up during Upload environment. And I am facing the error as soon as I open the Microsoft Dynamics AX Lifecycle Services Diagnostic Service Discovery.

    It says to ensure the system can use TLS 1.2 to connect to the LCS web services.

    Will it work?

    Thanks,

    Rhushikesh

  • Rhushikesh R Profile Picture
    Rhushikesh R 742 on at
    RE: Error during Install and run of System diagnostics service in Ax2012R3

    Hi Will,

    I followed step no. 7 of msdn which is as below,

    If you have an existing local X509 certificate, on the Select the certificate type page, click Use existing. If you do not have an X509 certificate, perform the following steps:

    1. On the Select the certificate type page, click Create new.

    2. Enter a prefix to be used in the certificate name.

    3. Click Next to create the certificate.

    4. Verify that the new certificate has been created in the specified location.

  • WillWU Profile Picture
    WillWU 22,350 on at
    RE: Error during Install and run of System diagnostics service in Ax2012R3

    Hi Raut,

    How did you create your certificate?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans