Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error after creating the msi for this project #509

Open
SaikatRoyChowdhury opened this issue Jul 28, 2020 · 6 comments
Open

Getting error after creating the msi for this project #509

SaikatRoyChowdhury opened this issue Jul 28, 2020 · 6 comments
Assignees

Comments

@SaikatRoyChowdhury
Copy link

Getting error while running the installer.
Microsoft.CognitiveServices.Speech.csharp : Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Attached the msi..
AskAdamSetUp.zip

@dargilco
Copy link
Member

@SaikatRoyChowdhury thanks for posting this comment. I'll do my best to help. Can you please provide specific details on what you are doing? For example, you did not mention which application this is. Did you build the MSI yourself? how? or did you get it from somewhere?
Darren

@SaikatRoyChowdhury
Copy link
Author

@dargilco
This code is the code that is uploaded here - https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/tree/master/clients/csharp-wpf
I just customized the name and icon and created a set up project to test the deployment. No code has been changed.
Let me know if you need any further clarification.

@SaikatRoyChowdhury
Copy link
Author

@dargilco
The code is giving correct output without issue if i run it in local but after creating the msi this problem is coming on Install --> run

@dargilco
Copy link
Member

dargilco commented Jul 29, 2020

Thanks for the additional information @SaikatRoyChowdhury. We have not tested the installer. The error you are getting indicates the installer does not know there is a dependency on the Speech SDK DLLs. I don't have time to look at it right now... is this something you can investigate? I would think since the project itself pulls in the Speech SDK NuGet, the installer will recognize this dependency. Or does the installer have a separate place where you list dependent DLLs?
Darren

@SaikatRoyChowdhury
Copy link
Author

@dargilco Thanks for your input.
I observed that Microsoft.CognitiveServices.Speech.core.dll is present under nativeasset folder but since only speech sdk nuget package is added into the project the set up project is taking only that package.

@mentorfloat
Copy link

@qfweiwei @dargilco Any update since? We packaged using MSIX via Store and occasionally on some PCs we get Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found.

It is fine on most.

Apparently there is a workaround described here: 34c9058 from a closed issue #150

Is there a more permanent solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants