locked
Plugin Error: Deployment/Scalegroup does not allow running external code RRS feed

  • Question

  • We have a CRM 2011 on-premise setup, and we use the GAP Consulting "Autonumber for 2011" managed solution to generate auto numbers for some of our CRM entities.

    As of today, when trying to create a CRM record which has a auto-number tied to it, we are getting the following error:

    Deployment/Scalegroup does not allow running external code

    Also when trying to remove the GAP Consulting managed solution, we get this error. The error seems to be related to the "plug-in assemblies":

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Action failed for assembly 'Gapconsulting.MSCRM.Plugin.AutoNumber, Version=5.0.4.20, Culture=neutral, PublicKeyToken=d5c4c72cabf69cc0': Deployment/Scalegroup does not allow running external code.Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147204752</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>Action failed for assembly 'Gapconsulting.MSCRM.Plugin.AutoNumber, Version=5.0.4.20, Culture=neutral, PublicKeyToken=d5c4c72cabf69cc0': Deployment/Scalegroup does not allow running external code.</Message>
      <Timestamp>2013-11-18T23:13:34.4665095Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    So at this point we can't remove the solution, to come up with a fix.

    Has anybody experienced something similar before with plug-in assemblies in general? How we go about and remove the solution?

    Many thanks,

    Chris

    Tuesday, November 19, 2013 1:23 AM

Answers