
Product: Dynamics AX 2012 R3, Retail Online Channel
Path: Online channel site > Sign in > Account > View all orders
Issue details: A few seconds ago, the "View all orders" works fine, but after restarted the IIS, the error occur. Restarting the IIS & AOS several times, didn't helps either. But after a period of time (without touching anything), hit F5 to refresh the page, it works again.
Stack trace:
*This post is locked for comments
I have the same question (0)Very interesting. I hate guessing on these without being able to actually debug myself, but let me give it a try here based upon what I see.
So, when a service goes into a faulted state it means that it can't be used because it has an open connection to whatever it is trying to connect with in this case or we say unhandled exception.
You also reported the error as occurring immediately after doing an IIS restart but working after a few minutes.
That would make sense because when you restart IIS, the application pools have to start up also and that takes some time. There are also configurations for websites within AX that follow the same principle. Many websites will only start when they are accessed the first time after the app pool starts up. Thus, all the powershell scripts floating around the web with a warmup period or autostart option to change this mechanism.
I'd look here based upon the way that you describe the problem:
msdn.microsoft.com/.../ee677285(v=azure.10).aspx
You can also easily see timeout faults by turning on logging for the service. That would confirm the issue -- to either wait for everything to start after rebooting IIS or use a powershell warmup script if everything doesn't start.