Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

(0) ShareShare
ReportReport
Posted on by 452

Hello

While trying to apply a Software Deployable Package to a cloud hosted dev machine the following error was found in an error log downloaded:

"The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

There is a related post: https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/462669/cloud-hosted-environment-update-failed/1267233 which showed another related error found with VSIX.

I don't find any related error with VSIX in the error logs I downloaded.

This feels like a misleading error message and that it is an effect of some other problem.

Anyone have any ideas on this one?

  • jt1024 Profile Picture
    jt1024 452 on at
    RE: Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

    Hello Komi,

    So I built a new SDP (Software deployable package) today with two small custom code changes, and updates for two ISV packages.  That SDP deployed correctly to my environments for testing!

    Thanks again for your help.

    - Jim

  • Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    RE: Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

    Noted Jim,

    Looking forward to your feedback.

  • jt1024 Profile Picture
    jt1024 452 on at
    RE: Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

    Hello Komi,

    Thanks for these suggestions.  I'll work through them today and see what happens.  I'll try to remember to post back here my results.

    - Jim

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

    Hi Jim,

    Komi provided valid suggestions. The last time I saw this error message, someone did log in on the VM and opened Visual Studio while the deployment was executing.

  • Verified answer
    Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    RE: Software deployment to cloud hosted machine fails with "The specified module 'C:\Program Files\Microsoft Security Client\MpProvider' was not loaded because no valid module file was found in any module directory."

    Are you applying a custom package or a Microsoft package. If the later is the case, from which version to which one are you upgrading to?

    Few things you should check before reapplying the update.

    1. Build your models without errors,

    2. Visual studio should be closed.

    3. Launch Visual studio installer, update Visual studio then reapply package.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans