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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 R2 image - AOS service stuck in "starting" status

(0) ShareShare
ReportReport
Posted on by 495

Hi I've downloaded the latest R2 image from PartnerSource and am using VirtualBox to host the image.  I'm use to having to start/restart the AOS service on previous images, but for this one it doesn't seem possible.  The AOS service seems to be stuck in "starting" status.  I've tried stopping/starting/etc directly in a cmd prompt with no luck "Service could not be controlled in it's current state" or the "The service is starting or stopping.  Please try again later."

I've reviewed prior posts on this topic (https://community.dynamics.com/ax/f/33/t/105778.aspx) but wasn't able to resolve this issue.

Any help is appreciated.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Dick Wenning Profile Picture
    8,705 Moderator on at

    any info in the windows event log? what kind of hardware are you using.

    the first time it Always take a lot of time?

    an other thing, does the image have internet connection?  otherwise a lot of DNS time out

  • Aaron Goudreau Profile Picture
    495 on at

    Thanks for the quick reply:

    * event log - every minute or so Microsoft Dynamics AX Enterprise Portal has an error - "Dynamics Adapter Logon failed" but nothing relating to AX directly or AOS

    * hardware - hosting the image on VirtualBox - running 4 MB base memory and 4 processors.  Dell Latitude E5430 laptop with an i7 processor and 8GB of RAM (running other images like AX2012-A not a problem)

    * yes first time could take a while but it's been hours...

    * yes the image has internet connection

    Also I've confirmed that SQL is up and running, I can navigate around in SQL Management Studio without a problem.

    Thanks for your help

  • Verified answer
    Henrik Larsen Profile Picture
    646 on at

    After they have changed the image to Windows Server 2012 many of us have struggled with issues, if you use Virtual Box. Many of those issues relate to the need for a bridged network connection. Palle Agermark has written about this on his blog: www.agermark.com/.../setup-march-2012-demo-machine-for.html.

    This may be helpful - it is worth a try...

  • Aaron Goudreau Profile Picture
    495 on at

    Thanks Henrik.  That didn't resolve my issue but probably proactively resolved the next issue :)

  • Aaron Goudreau Profile Picture
    495 on at

    I've figured out how to kill the hung service for anyone who's interested (and for the non-technical folks like me):

    cmd prompt

    - sc queryex <servicename> (note the PID)

    - taskkill /f /pid <PID>

    this will stop the hung service

    Now when I try to manually start the AOS, it times out and reverts back to the hung status.  I've tried logging the service on using a local system account rather than the contoso\administrator credentials - same effect, hung service.

    Now it seems that the real issue is the inability to get the AOS started.

    Any ideas?

    Thanks in advance :)

  • Verified answer
    Aaron Goudreau Profile Picture
    495 on at

    I think I've resolved this issue.

    Try starting the service at the command prompt - net start AOS60$01

    That seemed to do the trick for me.  Thanks Dick and Henrik

  • Community Member Profile Picture
    on at

    Hi All,

    Even am also getting the same error in ax2009,But in my personal system i have installed ax2009 application.

    So many times i had installed but now only am getting this situation.

    Can you please help me on that..

  • Community Member Profile Picture
    on at

    And i tried through command prompt also ,But there is no luck ...

  • IECDjones Profile Picture
    on at

    Starting from command prompt worked for me as well!

  • Muhammad Yousaf Profile Picture
    1,339 on at

    hi, 

    in my case the AOS service is not starting and it has stuck 'Starting' state

    did anyone had the same issue and how it was resolved, it is windows S 2012 and D AX 2012 R2

    Yousaf

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans