Microsoft Dynamics AX Developer Center Headlines

My Card

Showing posts with label Microsoft Dynamics AX 2009. Show all posts
Showing posts with label Microsoft Dynamics AX 2009. Show all posts

Monday, June 7, 2010

AIF – Web service Configuration - Troubleshooting

I was working with AIF web services configuration on Win server 2008-r2, AX 2009, and IIS 7.0 machine and faced errors during configuration. I thought it might be useful for everyone to share with:
  1. If you get the 404 error while accessing the service URL, then it might be because WCF is not registered. Consider registering Windows Communication Foundation (WCF) with IIS. To register WCF If IIS has installed after .net framework then use below options


    1. Open command prompt and set the directory path to WCF directory, which is usually, C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
    2. Run the following command: ServiceModelReg.exe /i /x Refer tech-net link for more detailed information.

  2. If you face the error shown in below image after registering the WCF then check the below points to get rid of the error:


  • Check that the windows authentication has enabled for AIF virtual directory.

  • Following should be the binding section of web.config file available in virtual directory physical path:


  • Enabled providers for virtual directory are NTLM and Negotiate both:


I was able to make the web service work after these troubleshooting steps. Hope these might be a help to anyone.

Wednesday, November 19, 2008

Presence Information in Microsoft Dynamics AX 2009

Microsoft Dynamics AX 2009 now has integration to Office Communicator. This allows a user to see presence information of a contact & contact him instantly. Office Communicator is required for this purpose.
We can enable the presence information in a AX Form Control of type StringEdit by setting up the following properties:
1. PresenceIndicatorAllowed: If set to Yes then it will show the presence indicator sign in same control.
2. PresenceDataSource: Data source which will have the PresenceDataField information.
3. PresenceDataField: It should be the field for address book identification such as DirPartyId, ContactPersonId etc. These are the extended data types.
These extended data types are having the properties to call the Presence Class (DirPresenceInfo) & the respective method. These Properties are PresenceClass & PresenceMethod.
For ex: The DirPartyId field the Presence Class property is set to DirPresenceClass & the PresenceMethod property is set to "partyInfo".
The contact information should be available in the respective table. For ex: for an employee the contact information should be available & the Communicator Sign In address check box should be checked to use the feature.