Share via

Custom Audio Endpoint Enumerator DLL has a WSAEACCES error connecting to a socket on Windows Server 2022

Anonymous
2022-05-27T12:10:15.603+00:00

Hi All,

I have a Custom Audio Endpoint Enumerator DLL that works fine on Windows Server 2019. Audiodg.exe loads the DLL, which uses a socket to send the audio stream to a remote service to play the audio. However, on Windows Server 2022 when Audiodg.exe loads my Custom Audio Endpoint Enumerator DLL there seems to be an issue on that platform that is prohibiting the DLL from connecting to the socket, which returns a WSAEACCES error. Moreover, when the DLL is loaded by another application then the socket connect succeeds. The socket connection only fails when the DLL is loaded by Audiodg.exe.

I understand that Windows Server 2022 has a large focus on tightening security. Could this be the reason why the socket connection is failing when
the DLL is loaded by audiodg.exe on Server 2022 and works fine on Server 2019? Is there perhaps a policy that can be configured on Windows Server 2022 to fix this? Any advice would be appreciated.

BTW,

Thanks in Advance!

Windows for business | Windows Server | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Limitless Technology 45,231 Reputation points
    2022-05-31T07:52:07.61+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to connecting WSAEACCES in Windows server 2022.

    Please specify your problem or provide further information to emphasize exactly what you require. It's difficult to determine what you're asking from the way it's worded now.

    On the other note , yes there are lots of improvement in Security in Windows 2022 and 11.

    As a General troubleshooting Guide.

    1. Disable any Antivirus program or Windows firewall you may have for temporary purpose.
    2. Please Debug what is exact error or exception using your Programming tools or Editor like Visual studio.
    3. If the custom application in not developed by you then try to Contact application vendor to provide latest version of this application.

    --If the reply is helpful, please Upvote and Accept as answer--

    Was this answer helpful?


Your answer

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