.NET 4.8 WCF application Server 2022 Question

Kevin Young 0 Reputation points
2024-07-08T16:17:06.6033333+00:00

We have a .NET 4.8 WCF application that we are having trouble getting to run on Windows Server 2022.  We have traced the problem to the "Net.Tcp Listener Adapter" service not being present. We have enabled all IIS Roles and all .NET Framework Features, but the service doesn't seem to be there.  What Role and/or Feature needs to be installed for this service to be present and running?

Thank you,

Kevin Young

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,191 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. S.Sengupta 19,256 Reputation points MVP
    2024-07-09T01:37:10.3666667+00:00

    If the "Net.Tcp Listener Adapter" service is not present, then open an elevated Command Prompt

    Run the following command:

    dism /online /enable-feature /featurename:WCF-TCP-Activation45
    
    
    0 comments No comments

  2. Wesley Li 9,900 Reputation points
    2024-07-12T16:19:09.5333333+00:00

    Hello,

    To resolve the issue, you may try these:

    Check WAS Installation and Status:

    Ensure that the Windows Process Activation Service (WAS) is installed and running on your Windows Server 2022.

    Enable WCF Non-HTTP Activation:

    Open Command Prompt (as Administrator).

    Run the following DISM command to enable WCF non-HTTP activation:

    dism /online /enable-feature /featurename:WCF-NonHTTP-Activation
    

    Note: If a specific version-based feature name is required (though unlikely for standard WCF TCP activation), replace WCF-NonHTTP-Activation accordingly.

    Additionally, as .NET Framework 4.8 is typically compatible with multiple versions of Windows Server, ensuring your server configuration and updates are current is also important.

    0 comments No comments

  3. Wesley Li 9,900 Reputation points
    2024-08-06T08:47:34.8066667+00:00

    Hello

    Is your problem solved?

    If the above reply is helpful to you, please mark your reply as an answer, thank you very much!

    If you have any further questions, please do not hesitate to contact us.

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.