Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Client installation error

(0) ShareShare
ReportReport
Posted on by 3,354

Hello Everybody, 

I'm reinstalling a client on a server which has the AOS, ( i have unistalled it eralier), 

i'm getting the following error

"An unexpected exception occurred during. See setup log",

in log the message is

"2013-12-09 21:55:00Z Message: The port number must be a number between 1 and 65535

2013-12-09 21:55:00Z FullText: Microsoft.Dynamics.Setup.AxSetupException: The port number must be a number between 1 and 65535
2013-12-09 21:55:00Z at Microsoft.Dynamics.Setup.Components.Aos.ValidatePort(String port)
2013-12-09 21:55:00Z at Microsoft.Dynamics.Setup.Components.ClientUI.GetClientAosServerAndPortFromRegistry()
2013-12-09 21:55:00Z at Microsoft.Dynamics.Setup.S220ClientAosServerEntry.IsPageApplicable()
2013-12-09 21:55:00Z at Microsoft.Dynamics.Setup.MainForm.FindNextPage(PageID oldPageID)
2013-12-09 21:55:00Z at Microsoft.Dynamics.Setup.MainForm.mainFormButtonNext_Click(Object sender, EventArgs e)
2013-12-09 21:55:00Z at System.Windows.Forms.Control.OnClick(EventArgs e)
2013-12-09 21:55:00Z at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
2013-12-09 21:55:00Z at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
2013-12-09 21:55:00Z at System.Windows.Forms.Control.WndProc(Message& m)
2013-12-09 21:55:00Z at System.Windows.Forms.ButtonBase.WndProc(Message& m)
2013-12-09 21:55:00Z at System.Windows.Forms.Button.WndProc(Message& m)
2013-12-09 21:55:00Z at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
2013-12-09 21:55:00Z at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2013-12-09 21:55:00Z ==== Setup encountered an unhandled exception and could not be completed. For details see the previous messages in the log. ==="

has anybody come across this?, how do I solve it?

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Client installation error

    Thanks

    The service was in an off state, Duh!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Client installation error

    Please check if you have specified the correct port no. while client installation.

    Please check Dynamics AX server configuration utility tool to find out the correct AOS port.

    Other thing what is suspect is, if you have installed the client properly or not.

    may be while implementation you may have uninstalled some of the other component.

    Please check if AOS service is in start status, please check Windows services for this.

    Other thing what you can do is you can try installing and connecting AOS from other server if it works fine.

    because it is fine it you don't have any client on server.

    Please verify

  • Suggested answer
    fsilva-jr Profile Picture
    20 on at
    RE: Client installation error

    It is clear that the port number to conect to the AOS service is wrong.

    Do you have more than one AOS in this server?

    Wich port number are you using during the setup?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans