Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
we have to installations of AX2012. In the first every tier is installed on it's own machine. In this installation all inbound ports are activated. In the second installation all three tiers are installed on the same machine. In this installation the inbound ports are all deactivated. When I try to activate them I get an infolog with success messages except one errormessage:
System.OperationCanceledException: AIF service group not activated. Service group: [...]. Error: There is already a listener on IP endpoint 0.0.0.0:8201.
Although the last message says "The port '[...]' was deployed successfully." the port is not activated.
In both installations the Ax32serv.exe is the listener to port 8201.
What can I do to get the inbound ports activated?
I have exactly the same problem. If you come to a solution in the meantime, please let me know. Of course, same to me.
Thanks in advance
see what is connect to port 8201
cmd.exe - netstat -a or netstat -o
Also you can use TCPView to find out which process it holding 8201
thanks first of all for your response.
I've checked it with TCPView. There following processes are listening:
- Port 8101 = System; Protocol = TCP; Local Address = the local server
- Port 8101 = System; Protocol = TCPV6; Local Address = the local server (with domain Address)
- Port 8102 = AX32Serv.exe; Protocol = TCP; Local Address = the local server
- Port 8102 = AX32Serv.exe; Protocol = TCPV6; Local Address = the local server (with domain Address)
If I stop the aos, all processes are killed. I'm just a bit confused, bedause in another virtual image (AX-2012-BETA) exactly the same processes are listed and the inbound ports are activated successfully.
Thanks in advance for any help.
also thanks for your response.
In fact I've the same as Sebastian:
TCP 0.0.0.0:8201 0.0.0.0:0 LISTENING 3044TCP [::]:8201 [::]:0 LISTENING 3044
Process 3044 is Ax32serv.exe
And here we have also another application were the inbound ports are all activated and port 8201 is listed identically with netstat, i.e. Ax32serv.exe is listener for port 8201.
The only difference is that the application were it doesn't work is installed completely on one machine, the application were the inbound ports are activated is installed on one machine per tier.
Hope that helps...
Try generating full IL then try again
I did figure out, which must have been the error in my case. I installed a basic version of AX 2012 (DB, AOS, Client) and afterwards imported data via export/import from another 2012 version.
Unfortunatly also some system tables (including tables AIF) where deleted and reimported from the other system. So the configuration was wrong. I couldn't find out which was the wrong setting in detail.
As I rolled back the virtual image to the point before importing the data, the installation (prerequesite check) runs without problems.
Maybe this will help
@Huzaifa Gain: did you mean compilling / generating the CIL?
I meant full IL
You can confirm your theory by keeping both database and ax configuration setting try connecting to both db turn by turn
regenerating CIL didnn't help, in contrary, in the course of generating the CIL AX tries to activate all inbound ports which resulted again in the error. But the hint of Sebastian did the trick. I had also imported company accounts with the export/import utility (from the Contoso-db) and I had imported all tables. Now I have overwritten all Aif*-tables with an export from a system where the inbound ports are working and now they are also working in the system were they didn't work before.
Thanks Huzaifa and Sebastian for your help!
TCP port 8201 is basically occupied by something else and will block all the AIF services. AIF services start showing a red circle and would not come back.
The easy solution to fix and get all the AIF services running would be assigning a new port.
Steps for this are :
Edit the Ax32Serv Config file located on the AOS Server under
"C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\Ax32Serv.exe.config"
Find 8201 and replace with either 8202 or 8301, Basically It replaces the ServicePort and net.tcp URL's in the file and doesn't require to restart the AOS.
Go back to AIF Inbounds and click activate. That should show the Infolog with successful deployment.
But remember to change the AXC connection files through AX Configuration Utility, since the WSDL has to be refreshed as it generates a fresh WSDL settings, If at all you are using the AXC connection files from a remote system to connect to AX Instance.
If the above solution doesn't work then the best idea would be to follow below steps for the fix. But ideally I wouldn't suggest these steps to be executed in a Production environment.
Delete the files under XPPIL directory located under Server BIN directory.
Truncate table (SysXPPAssembly) from SQL.
Restart the AOS.
Basically the IL binary files which are saved in this table might have been messed up there! On the AOS restart it produces the binaries freshly and updates the table which should fix the issue.
This is resolved after I restarted AOS server
I am Facing below Error after Restoring Database, Both Model and transaction Database has been Restored.
"AIF Service Group Not Activated Error: There is already a listener on end point 0.0.0.0.8201"
Steps Followed after Restoring Data Bases
1. Stopped AOS
2. Under. C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL and delete all the content of the XppIL dir
3. Started AOS and made Compile ( From Build tab.)
4. Field Mismatch in Union Query Error appeared after doing Full CIL. (Only One Error)which I could not resolve after checking the EDT Relation length. I could not find any mismatch
5. I ran Full CIL and again the Error still exists ,
1. I am unable to open any reports.
2. I have encountered this Error Long back also, it got resolved on its own after running CIL.
3. When I am Restoring Live Data to Test Data I will not find this problem but when I am restoring Test Data back to Test server, I am finding this Error.
4.If I Truncate XPPIL Folder This Server group Error will be Resolved but one more Error Will appear Saying “Cannot create a record in SysXppassembly”
5.In System administration if I check my Inbound ports they are with red Symbol and they have Error :Port not Started.
AX Version:AX 2012 R3
Kernel Version :22.214.171.124
I am Having confusion in above 2 options given by Chaitan.
I am worried about the risk involved in each of the option . Or Should I work in understanding the basics relating to this changes
Assuming that you may have deleted the XPPIL folder and might have recreated it .
My suggestion for the point 4 you mentioned above was to delete the content inside the XPPIL folder but not the folder itself, That folder should have some special permissions for AOS Service accounts.
Looking at the error (“Cannot create a record in SysXppassembly”) you encountered makes me think that either AOS Service account is different between the 2 environments or it doesn't have appropriate permissions to write to that folder.
Back to the CIL errors : Assuming there could be differences in the Binaries/Hotfixes between your environments, You can have warnings but not errors. Basically CIL error can cripple several functionalities in AX. In short you cannot have even a single error.
It is very hard to give any suggestions without knowing the facts exactly about your test environment, Did you check if the port was occupied by something else ?
Post me your reply or mail me.
Will be glad to hear if its resolved.
Venkat Chaitanya Kanumukula
Business Applications communities