web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Rhett Clinton Profile Picture
    Moderator on at

    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

  • MateuszBender Profile Picture
    216 on at

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

  • Rhett Clinton Profile Picture
    Moderator on at

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

  • Verified answer
    Heta77 Profile Picture
    35 on at

    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).

  • MaximillianC Profile Picture
    10 on at

    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!

  • MaximillianC Profile Picture
    10 on at

    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.

  • Suggested answer
    hgh5250 Profile Picture
    20 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans