Microsoft Dynamics AX Support

This blog contains posts by the Microsoft Dynamics AX Support Teams Worldwide

Unable to login to Warehouse Mobile Devices Portal when clicked on “Log on to the mobile device”

Issue: Receive error “Sorry, an error occurred while processing your request. Please retry your request or contact your system administrator.” when we click on “Log on to the mobile device” link on Warehouse Mobile Devices Portal.


Cause: This error may occur when trying to Login if the Warehouse Mobile Device Portal is installed on a machine other than the AOS.

Refer Technet: https://technet.microsoft.com/en-in/library/dn741429.aspx

Solution:

The Web.config for the portal site needs to be updated to specify the AOS name and AOS Service Account:

FROM:

<client>

<endpoint address=”net.tcp://localhost:8201/DynamicsAx/Services/WHSMobileDevicesServices

binding=”netTcpBinding” bindingConfiguration=”NetTcpBinding_WHSMobileDevicesService”

contract=”WHSMobileDevicesServices.WHSMobileDevicesService”

name=”NetTcpBinding_WHSMobileDevicesService”>

<!–

If AOS is hosted on a different machine and is not running under one of the system accounts (i.e. LocalService, LocalSystem, or NetworkService),

User Principal Name (UPN) must be supplied on the client side. This can be done by uncommenting the following <identity> section

and inserting the user account (in the below format) under which the AOS process is running.

–>


<!–

<identity>

<userPrincipalName value=”<userName>@<domain>” />

</identity>



–>

</endpoint>

TO:

<client>

<endpoint address=”net.tcp://a:8201/DynamicsAx/Services/WHSMobileDevicesServices

binding=”netTcpBinding” bindingConfiguration=”NetTcpBinding_WHSMobileDevicesService”

contract=”WHSMobileDevicesServices.WHSMobileDevicesService”

name=”NetTcpBinding_WHSMobileDevicesService”>

<!–

If AOS is hosted on a different machine and is not running under one of the system accounts (i.e. LocalService, LocalSystem, or NetworkService),

User Principal Name (UPN) must be supplied on the client side. This can be done by uncommenting the following <identity> section

and inserting the user account (in the below format) under which the AOS process is running.

–>

<identity>

<userPrincipalName value=”administrator@contoso.com” />

</identity>

</endpoint>