Saturday, August 6, 2016

Crm Exception: Message: 'Entity' metadata entity doesn't contain metadata attribute with Name


Crm Exception: Message: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'., ErrorCode: -2147217149

The specified field does not exist in Microsoft Dynamics CRM

Exception Details


MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'.
Error Number: 0x80041103
Error Message: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'.
Error Details: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'.
Source File: Not available
Line Number: Not available
Request URL:
Stack Trace Info: [CrmException: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'.]
   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.ImportSolutionCommand.Execute()
   at Microsoft.Crm.Application.Platform.DataSource.ImportSolution(Byte[] customizationFile, Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, IOrganizationContext context)
   at Microsoft.Crm.Web.Tools.Solution.SolutionImportProcessPage.ImportSolution()

   at Microsoft.Crm.Web.Tools.Solution.SolutionImportProcessPage.ProcessRequestData()

Exception Detailed Trace 
--------------------------------------------------------------------------------------------------------
Web Service Plug-in failed in SdkMessageProcessingStepId: {1B830950-E106-4EE1-B3FD-D348CB65DC8D}; EntityName: none; Stage: 30; MessageName: ImportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: Microsoft.Crm.Metadata.MetadataAttributeMetadataNotFoundException: 'Entity' metadata entity doesn't contain metadata attribute with Name = 'isslaenabled'.
   at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] ImportEntities)
   at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport()
   at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, Boolean holdingSolution, ExecutionContext context)


Cause of an Exception

1) This error gets generated usually when doing import of a solution.
2) When you are trying to create any field in Microsoft Dynamic CRM.

Resolution

Solution being exported should match the version where it is being imported of a CRM instance

1) Check your solution version, if it is
     - Version 8.0  (denote MS CRM 2016)

      OR

     - Version 8.1  (denote MS CRM 2016 with Service Pack 1)

2)  Check your destination CRM instance version where you are trying to import your                  solution to.



3) Try to match your solution version with CRM instance version.

Once you apply a Service Pack 1 to Microsoft Dynamic CRM, don't forget to update an organization from Deployment Manager

1) Open deployment manager.
2) Select your organization.
3) Right click an organization and select update.

That's it, import of a solution should be working then.




No comments: