Unable to logon to Dynamics AX from external application through AIF

HI

I am trying to create an AIF service and access it from an dotnet application. I am getting the following exception when i am calling the method of the service.

“You cannot log on to Microsoft Dynamics AX… Error details: Unable to log on to Microsoft Dynamics AX… Check the Web server event viewer for more information, or contact your Administrator”

Below is the code of my Web config file please let me know if any setting is missing

<?xml version="1.0" encoding="utf-8" ?>

</system.web>

<system.diagnostics>

<system.serviceModel>









http://tempuri.org"](http://tempuri.org) contract="Microsoft.Dynamics.IntegrationFramework.Service.AIFTestDocumentIDService" />

I will really appreciate some help…

Regards

Arun.

Solved.

The following link helped me to solve the issue.

https://community.dynamics.com/product/ax/f/33/t/30337.aspx?PageIndex=2

Arun.