System.OperationCanceledException: AIF service group not activated in AX 2012
Hi AX Technical,
Today, in this post we are going to share a solution for below error:
Error:
System.OperationCanceledException: AIF service group not
activated. Service group:
AccountsReceivableServices. Error: There
is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there
is another application already listening on this endpoint or if you have
multiple service endpoints in your service host with the same IP endpoint but
with incompatible binding configurations. --->
System.ServiceModel.AddressAlreadyInUseException: There is already a listener
on IP endpoint 0.0.0.0:8201. This could happen if there is another application
already listening on this endpoint or if you have multiple service endpoints in
your service host with the same IP endpoint but with incompatible binding
configurations. ---> System.Net.Sockets.SocketException: Only one usage of
each socket address (protocol/network address/port) is normally permitted
Today, in this post we are going to share a solution for below error:
Error:
at System.Net.Sockets.Socket.DoBind(EndPoint
endPointSnapshot, SocketAddress socketAddress)
at
System.Net.Sockets.Socket.Bind(EndPoint localEP)
at
System.ServiceModel.Channels.SocketConnectionListener.Listen()
--- End of inner
exception stack trace ---
at
System.ServiceModel.Channels.SocketConnectionListener.Listen()
at
System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()
at
System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
at
System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener
channelListener)
at
System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback
selectTransportManagerCallback)
at
System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at
System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan
timeout)
at
System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout)
at
System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at
System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at
Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String
serviceGroupName)
--- End of inner
exception stack trace ---
at
Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String
serviceGroupName)
at
Microsoft.Dynamics.Ax.Services.AifHelper.PublishAllServiceGroups(Dictionary`2
faultedServices)
Solution:
1) Stop AOS and navigate to C:\Program Files\Microsoft Dynamics AX\60\Server\AX2012R3\bin.
2) Rename the XppIL folder as XppIL_Old.
3) Start AOS and then do the full CIL.
4) You should not get any error this time.
5) Delete the XppIL_Old folder now.
6) In case you are still getting error in Full CIL. Please click here.
We hope this solution helped you to troubleshoot Full CIL issue in AX 2012. Please comment your valuable feedback for this article...
Author:
Chirag Gupta
Microsoft Dynamics D365/AX 2012
Senior Technical Consultant at IBM Bangalore
Date:
8-Apr-2020
Happy Learning !!
Thanks for posting such useful information. You have done a great job.
ReplyDeleteD365 Finance and Operations Training
D365 Finance Training
D365 Operations Training
Thanks for appreciation :)
DeleteThanks for appreciation :)
ReplyDelete