Azure function : Cant load DLL cognitive speech dll


Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Please help Been struggling for straight two weeks with this prob.

asked on Stack Overflow Nov 21, 2019 by siboniso Dlamini • edited Nov 21, 2019 by Bowman Zhu

1 Answer


The Azure Functions doesn't support to load native functions and dynamic libraries written in C/C++. The sandbox of Azure Functions has a limitation and The Cognitive Services Speech SDK requires the Microsoft Visual C++ Redistributable for Visual Studio 2019 on the system.

The cognitive services should be available in Azure as a resource which you can use it instead of using SDK. Azure Cognitive Services

answered on Stack Overflow Nov 21, 2019 by Ondrej Rozinek • edited Nov 21, 2019 by Ondrej Rozinek

User contributions licensed under CC BY-SA 3.0