Wednesday, November 29, 2017

Max number of sessions in WHS Dynamcs Ax 2012 R3

When we implemented a WHS module in Dynamics Ax 2012 R3, we experimented some issues but the most stressfull issue was the WHS web service crashed with five or six concurrent users.

I tought it was a configuration parameter about limit of conecctions, but i didnt know wich parameter, maybe an IIS parameter or AIF parámeter, was the second.

First of all, we have to select the follow menú: System Administration/ Setup / Services and Application Integration Framework/ EndPoints










In the endpoints form we are going to filter the whs* as the follow image show



We are going to desactivate the endpoint and then we clic the setup button and then, if we don’t have the right software tool to edit the file, the notepad Will open the file.

The netTCPBinding node has a maxConnections parameter but it was useless in this scenario.
But ServiceThrotting parameter had the solution, we had 200 in values of maxCurrentCalls, maxCurrentInstances, maxCurrentSessions



So, each users made several petitions to the service, even a user who refreshed the webpage repeatly



Just we increased the value of each parameter and we notice the website was supported more users tan before.


It really works for us!

See you!

No comments:

Post a Comment