Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

(1) ShareShare
ReportReport
Posted on by 216

Is it me, or is CRM 9 very bugged and absolutely not ready for release? The reason I'm asking is because once installed and once I deployed a clean organization, I can't seem to access leads or quotes.

The error is a plain "Unable to load plug-in assembly" - since these appear to be on-retrieve plugins, there's no additional information available on the form. Event Viewer has a bit more:

Exception information:
    Exception type: CrmException
    Exception message: Assembly Microsoft.Dynamics.LeadManagement.Plugins.dll can not be loaded.
   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()
   at Microsoft.Crm.ApplicationQuery.RetrieveMultipleCommand.RetrieveData()
   at Microsoft.Crm.ApplicationQuery.ExecuteQuery()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareGridData()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareData()
   at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
   at Microsoft.Crm.Application.Components.UI.Grid.DataGrid.RenderInnerHtml(HtmlTextWriter output)
   at Microsoft.Crm.Application.Components.UI.Grid.DataGrid.Render(HtmlTextWriter output)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at Microsoft.Crm.Web.EntityHomepage.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

This is clearly a MS bug as, again, this is basically a fresh CRM 9 install with a fresh organization.

How do I resolve this issue?

*This post is locked for comments

  • Suggested answer
    hgh5250 Profile Picture
    20 on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    After installing the 0.14 update, the program made an error when displaying Quote "Unable to load plug-in assembly".I noticed that the database had not been updated, so I run Deployment Manager, and after going to the Organizations section, right-clicked on the organization and clicked Update.When the database was updated, the problems were resolved.

  • MaximillianC Profile Picture
    10 on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    MateuszBender,

    I have felt the same way about Dynamics 365 On-Premise 9.0 since first installing a few months ago.  There are WAY too many ridiculous little bugs that make the system VERY difficult to use, and it seriously seems like they are doing everything they can these days (including leaving ridiculous bugs in the system when released) to try and convince you it's not worth your time to run it on-prem, so you, instead, go to their cloud offering.  This is similar to what they did with Exchange Server years ago, to push everyone to Office 365/Exchange Online... made a product that used to be powerful and fairly-easy to administer incredibly complicated and difficult to setup and administer, and left it riddled with bugs, so it became an absolute nightmare to administer.  Shame on Microsoft for treating their customers this way.  They obviously had to solve these same bugs in their own cloud implementations (presuming they're using the same codebase), so I don't understand why they don't at least pass the bug fixes back to the on-prem versions of their products, too.

  • MaximillianC Profile Picture
    10 on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    Thank you so much!  This issue has been driving me NUTS for months, and I wish I would've known this was so simple so solve a while back!  I was getting errors constantly here and there, and I had even submitted an incident for this to Microsoft, and they didn't even come back with a quick answer like this.  I'm going to the forums for now on.  By the way, you don't need to grant "Users" those permissions, necessarily... the only "person" who needs that access is the account that your Dynamics CRM/365 app pool runs under.  I granted that specific account "read and execute" access as suggested, restarted IIS, and no more errors!

  • Verified answer
    Heta77 Profile Picture
    35 on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    go to the folder "C:\Program Files\Dynamics 365\Server\bin\assembly" and set Security permission for local group "Users" as "Read and executes". After this restart IIS server (IISReset).

  • Rhett Clinton Profile Picture
    Moderator on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    If you were able to inspect the plugins and steps within the Plugin Registration tool it might be there.

  • MateuszBender Profile Picture
    216 on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    No, the Assembly Microsoft.Dynamics.LeadManagement.Plugins.dll is NOT listed in the plug-in assembly list.

  • Rhett Clinton Profile Picture
    Moderator on at
    RE: Unable to load Microsoft plug-in on a fresh CRM 9 on-premise organization

    Can you verify the plugin is present

    1. Settings->Customization->Customize the System

    2. Select Plug-in Assembly and locate the plugin Microsoft.Dynamics.LeadManagement.Plugins

    Validate the .NET version supported is installed on your server.

    support.microsoft.com/.../compatibility-with-microsoft-dynamics-crm-2016

    Can you verify your installation has the correct prerequisites and step s followed.

    docs.microsoft.com/.../software-requirements-for-microsoft-dynamics-365-server

    www.microsoft.com/.../details.aspx

    Otherwise try going to the Default Solution and remove the plugin from the Plug-in Assemblies list.

    1. Settings->Customization->Customize the System

    2. Select Plug-in Assembly and locate the plugin Microsoft.Dynamics.LeadManagement.Plugins

    3. Click Delete

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans