Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

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

$
0
0

I have a Web application that I made in Visual Studio 2022, using .NET Core 8.0 and Angular 8, and the Azure Cognitive Services Speech (version 1.41.1) installed through NuGet. The application works fine in the local environment, but when I publish it in the development computer, or a target computer, the following error message appears:

An unhandled exception occurred while processing the request.DllNotFoundException: Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)Microsoft.CognitiveServices.Speech.Internal.SpeechConfig.speech_config_from_subscription(out IntPtr config, string subscriptionKey, string region)

Stack Query Cookies Headers Routing

DllNotFoundException: Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)Microsoft.CognitiveServices.Speech.Internal.SpeechConfig.speech_config_from_subscription(out IntPtr config, string subscriptionKey, string region)Microsoft.CognitiveServices.Speech.SpeechConfig.FromSubscription(string subscriptionKey, string region)CognitiveServicesService.SpeechToTextAsync() in CognitiveServicesService.csapi.Controllers.CognitiveServicesController.GetSpeechToText() in CognitiveServicesController.cs

Both the development computer and target computer (Windows 10) are using the same CPU architecture (64-bit). The target architecture is set to 'Any CPU'. My Target Computer has Microsoft Visual C++ 2017 Redistributable (x64) and as well as (x86) version 14.14.26405.

I am not sure what I am missing, here.

Thanks in advance.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>