web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error: Server is unavailable on installing AX 2012 R3 on a new machine

(0) ShareShare
ReportReport
Posted on by 45

Hello Everyone,

I am installing AX 2012 R3 on a Server machine. All pre-requisites are installed. Databases are installed. AOS is installed and services are STARTED. When I install the client and try opening the client on the same machine; I get an error that says "The server is unavailable. Please check your configuration and network settings"

Having said that, I have checked the firewall which is not enabled.
I have checked the port and it is open.
I have verified that the Configuration is correct and that it is pointing to the right AOS. I only have one AOS instance on my machine.

However, when I look into the Event Viewer, I see error logged when I start and stop the AOS.
When I start the AOS, below error is registered:
Object Server 01: RPC error: Failed to register service principal name (SPN)
When I stop the AOS, below error is registered:
Object Server 01: RPC error: Failed to unregister service principal name (SPN)

Am have looked into many articles but I have not been able to resolve the connectivity issue. Have attached the screenshots for your reference.

AOS-Services-start-error.jpg

 

AOS-Services-stop-error.jpg

Any help on this would be highly appreciated.

*This post is locked for comments

I have the same question (0)
  • rrizwann Profile Picture
    675 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Hi I had faced the same issue I just restart the server and it worked 

    Please follow this link

    msaxcrm.blogspot.com/.../the-dynamics-server-could-not-be.html

  • Suggested answer
    Vincent Nguyen Profile Picture
    290 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    AOS server name was more than 15 char and got truncated for some reasons. Renamed it to 9 char fixed my issue, AX client now can connect and retrieve the AOS server.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    The Server Principal Name (SPN) registration requires the AX AOS execution account to be granted access by an Active Directory Domain Administrator to register/delete SPNs for the error to go away.

    In majority of the cases the problem is with the AX AOS configuration for the client connections, like if you provide the wrong ports, or you did not use the default instance name and you have provided one (like the above screenshot), they could all cause connection failure.

    Also they may have used a fixed AXC file as configuration within the AX executables' shortcut, and if that points to the wrong AOS instance, it does not matter what you have in the registry (which is the one by AX client configuration utility), it is the AXC file which needs to be updated.

  • Vincent Nguyen Profile Picture
    290 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Same issue here, any solution?

  • Raghavendra M Rao Profile Picture
    45 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Hi Arturo,

    Thank you for your response. The account that am using to the start the AX service is a domain account which has full administrative rights. I have done the same in earlier installations and had no issues with it. Unable to figure out what might be the issue.

    Thanks,

    Raghu

  • Raghavendra M Rao Profile Picture
    45 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Hi Denis,

    Thank you for your response. As you suggested, I created a new Client Configuration with Server IP instead of the DNS, regenerated WCF configuration without any errors.

    However, when I try opening the AX client with the new config file; I get the following error: "The Application Object Server name or port number is incorrect. Check the values in the Microsoft Dynamics AX Server Configuration Utility, and try again"

    I have used the default port numbers TCP/IP being 2712 and WSDL port being 8101. I have attached the below screenshot for your reference. Please let me know if you have any suggestions.

    Server-IP.jpg

  • Suggested answer
    Arturo Medina Profile Picture
    696 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Raghavendra, Please take a look at the account used to start the AX service (Microsoft Dynamics AX Object Server 6.2$01-AXDB). For instance my demo environment uses a domain admin account (Yes, I know I should be using a managed account).

  • Denis Macchinetti Profile Picture
    16,444 on at
    RE: Error: Server is unavailable on installing AX 2012 R3 on a new machine

    Hi

    Give a try.

    On the AX Client Configuration, try to use the Server IP instead of the DNS.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans