AIF webservice problem - Axapta

This is a discussion on AIF webservice problem - Axapta ; I try to implement a soap webservice from external through aif webservice I fully followed msdn's docs of aif configuration, and finally got a exception like below Event Type: Error Event Source: Dynamics Application Integration Server Event Category: None Event ...

+ Reply to Thread
Results 1 to 3 of 3

AIF webservice problem

  1. Default AIF webservice problem

    I try to implement a soap webservice from external through aif webservice
    I fully followed msdn's docs of aif configuration, and finally
    got a exception like below

    Event Type: Error
    Event Source: Dynamics Application Integration Server
    Event Category: None
    Event ID: 0
    Date: 2/3/2009
    Time: 8:44:20 PM
    User: N/A
    Computer: PSH2S008
    Description:
    The description for Event ID ( 0 ) in Source ( Dynamics Application
    Integration Server ) cannot be found. The local computer may not have the
    necessary registry information or message DLL files to display messages from
    a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve
    this description; see Help and Support for details. The following information
    is part of the event: An error occurred while Web service request
    http://10.62.120.238/DynamicsWebServ...erService.asmx and action
    readCustomer were being processed. Error details: You cannot log on to
    Microsoft Dynamics AX.. Error details: Failed to establish connection.. Check
    the Web server event viewer for more information, or contact your
    Administrator.

    Possible reasons for the logon failure include: (1) The current user is not
    a valid Windows user. (2) The user is not configured in Microsoft Dynamics
    AX. (3) The user has not been enabled in Microsoft Dynamics AX. (4) The IIS
    application pool identity should be running as the Business Connector proxy
    user. (5) The Business Connector proxy user has not been configured in
    Microsoft Dynamics AX under Administration > Setup > Security..

    **Exception:**

    Message: Failed to establish connection.Stack trace: at
    Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO*
    pBCProxyAccountInfo, String company, String language, String objectServer,
    String configuration)
    at
    Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonUsingBCProxyAccount(_SEC_WINNT_AUTH_IDENTITY_W*
    pImpersonatedUserAccount, NetworkCredential bcProxyCredentials, String
    company, String language, String objectServer, String configuration)
    at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonAs(String user,
    String domain, NetworkCredential bcProxyCredentials, String company, String
    language, String objectServer, String configuration)
    at
    Microsoft.Dynamics.IntegrationFramework.WebService.IntegrationProcessor.SubmitMessage(String aifMessage).


    please help

    Thanks
    Michael

  2. Default RE: AIF webservice problem

    Hi michael,

    sounds like a problem with the bc proxy user.

    Did you configured the AppPool under which your webapp is running to use the
    credintials of the bc proxy user?

    Please also check, that the bc proxy user has a falid AX client
    configuration. Should be possible that the client configuration settings (i.e
    AOS instance) is wrong.
    --
    Sincerely yours
    Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)


    "michael" wrote:

    > I try to implement a soap webservice from external through aif webservice
    > I fully followed msdn's docs of aif configuration, and finally
    > got a exception like below
    >
    > Event Type: Error
    > Event Source: Dynamics Application Integration Server
    > Event Category: None
    > Event ID: 0
    > Date: 2/3/2009
    > Time: 8:44:20 PM
    > User: N/A
    > Computer: PSH2S008
    > Description:
    > The description for Event ID ( 0 ) in Source ( Dynamics Application
    > Integration Server ) cannot be found. The local computer may not have the
    > necessary registry information or message DLL files to display messages from
    > a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve
    > this description; see Help and Support for details. The following information
    > is part of the event: An error occurred while Web service request
    > http://10.62.120.238/DynamicsWebServ...erService.asmx and action
    > readCustomer were being processed. Error details: You cannot log on to
    > Microsoft Dynamics AX.. Error details: Failed to establish connection.. Check
    > the Web server event viewer for more information, or contact your
    > Administrator.
    >
    > Possible reasons for the logon failure include: (1) The current user is not
    > a valid Windows user. (2) The user is not configured in Microsoft Dynamics
    > AX. (3) The user has not been enabled in Microsoft Dynamics AX. (4) The IIS
    > application pool identity should be running as the Business Connector proxy
    > user. (5) The Business Connector proxy user has not been configured in
    > Microsoft Dynamics AX under Administration > Setup > Security..
    >
    > **Exception:**
    >
    > Message: Failed to establish connection.Stack trace: at
    > Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO*
    > pBCProxyAccountInfo, String company, String language, String objectServer,
    > String configuration)
    > at
    > Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonUsingBCProxyAccount(_SEC_WINNT_AUTH_IDENTITY_W*
    > pImpersonatedUserAccount, NetworkCredential bcProxyCredentials, String
    > company, String language, String objectServer, String configuration)
    > at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonAs(String user,
    > String domain, NetworkCredential bcProxyCredentials, String company, String
    > language, String objectServer, String configuration)
    > at
    > Microsoft.Dynamics.IntegrationFramework.WebService.IntegrationProcessor.SubmitMessage(String aifMessage).
    >
    >
    > please help
    >
    > Thanks
    > Michael


  3. Default RE: AIF webservice problem

    Dear Axel:
    Thank you very much for your reply!
    I've configured the correct bc proxy user as msdn doc ,I finally solved
    the problem by
    reinstalled the ".Net Business Connector" on server as another doc
    presents.
    seems I have to install the BC after the bc proxy user has been
    configured in
    Windows and Dynamics AX.


    Regards

    Michael

    "Axel Kühn" wrote:

    > Hi michael,
    >
    > sounds like a problem with the bc proxy user.
    >
    > Did you configured the AppPool under which your webapp is running to use the
    > credintials of the bc proxy user?
    >
    > Please also check, that the bc proxy user has a falid AX client
    > configuration. Should be possible that the client configuration settings (i.e
    > AOS instance) is wrong.
    > --
    > Sincerely yours
    > Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
    >
    >
    > "michael" wrote:
    >
    > > I try to implement a soap webservice from external through aif webservice
    > > I fully followed msdn's docs of aif configuration, and finally
    > > got a exception like below
    > >
    > > Event Type: Error
    > > Event Source: Dynamics Application Integration Server
    > > Event Category: None
    > > Event ID: 0
    > > Date: 2/3/2009
    > > Time: 8:44:20 PM
    > > User: N/A
    > > Computer: PSH2S008
    > > Description:
    > > The description for Event ID ( 0 ) in Source ( Dynamics Application
    > > Integration Server ) cannot be found. The local computer may not have the
    > > necessary registry information or message DLL files to display messages from
    > > a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve
    > > this description; see Help and Support for details. The following information
    > > is part of the event: An error occurred while Web service request
    > > http://10.62.120.238/DynamicsWebServ...erService.asmx and action
    > > readCustomer were being processed. Error details: You cannot log on to
    > > Microsoft Dynamics AX.. Error details: Failed to establish connection.. Check
    > > the Web server event viewer for more information, or contact your
    > > Administrator.
    > >
    > > Possible reasons for the logon failure include: (1) The current user is not
    > > a valid Windows user. (2) The user is not configured in Microsoft Dynamics
    > > AX. (3) The user has not been enabled in Microsoft Dynamics AX. (4) The IIS
    > > application pool identity should be running as the Business Connector proxy
    > > user. (5) The Business Connector proxy user has not been configured in
    > > Microsoft Dynamics AX under Administration > Setup > Security..
    > >
    > > **Exception:**
    > >
    > > Message: Failed to establish connection.Stack trace: at
    > > Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO*
    > > pBCProxyAccountInfo, String company, String language, String objectServer,
    > > String configuration)
    > > at
    > > Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonUsingBCProxyAccount(_SEC_WINNT_AUTH_IDENTITY_W*
    > > pImpersonatedUserAccount, NetworkCredential bcProxyCredentials, String
    > > company, String language, String objectServer, String configuration)
    > > at Microsoft.Dynamics.BusinessConnectorNet.Axapta.LogonAs(String user,
    > > String domain, NetworkCredential bcProxyCredentials, String company, String
    > > language, String objectServer, String configuration)
    > > at
    > > Microsoft.Dynamics.IntegrationFramework.WebService.IntegrationProcessor.SubmitMessage(String aifMessage).
    > >
    > >
    > > please help
    > >
    > > Thanks
    > > Michael


+ Reply to Thread