Hi Ravi, yes I Published. The trace looks like this:
Level: Error |ReqId: 6db2c74d-3d03-45a8-9c26-69de336833a5 |ActivityId: 6db2c74d-3d03-45a8-9c26-69de336833a5 | CustomControlDefaultConfigService.ValidateDuplicatePrimaryEntityTypeCode ilOffset = 0xFA
at CustomControlDefaultConfigService.ValidateDuplicatePrimaryEntityTypeCode(IBusinessEntity entity, ExecutionContext context) ilOffset = 0xFA
at CustomControlDefaultConfigService.Create(IBusinessEntity entity, ExecutionContext context) ilOffset = 0x19
at EntityService.CreateUIData(EntityCreateInfo entityInfo, ExecutionContext context) ilOffset = 0x71
at EntityService.CreateInternal(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context) ilOffset = 0x4E
at EntityService.Create(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context) ilOffset = 0xB0
at EntityService.Create(EntityCreateInfo entityInfo, ExecutionContext context) ilOffset = 0x1A
at EntityService.Create(EntityCreateInfo entityInfo, Guid solutionId) ilOffset = 0x2E
at EntityCreate.Execute(Guid solutionId, ParameterBag paramBag) ilOffset = 0x1C1
at SystemCustomization.CreateEntity(XmlNode data) ilOffset = 0x11
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x16
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x7F
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x3F
at WebServiceHandler.Invoke() ilOffset = 0xAE
at WebServiceHandler.CoreProcessRequest() ilOffset = 0x134
at SyncSessionlessHandler.ProcessRequest(HttpContext context) ilOffset = 0x3F
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D
at HttpApplication.ExecuteStepImpl(IExecutionStep step) ilOffset = 0x64
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15
at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0x27A
at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31
at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
>Crm Exception: Message: Cannot insert duplicate key., ErrorCode: -2147220937
[2018-09-28 08:27:56.824] Process: w3wp |Organization:e649666f-8b8c-e611-80e1-005056b929fd |Thread: 114 |Category: Platform.Metadata |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 6db2c74d-3d03-45a8-9c26-69de336833a5 |ActivityId: 6db2c74d-3d03-45a8-9c26-69de336833a5 | EntityService.Create ilOffset = 0xB0
>EntityService.Create caught exception: Microsoft.Crm.BusinessEntities.CrmDuplicateRecordException: Cannot insert duplicate key.
à Microsoft.Crm.ObjectModel.CustomControlDefaultConfigService.ValidateDuplicatePrimaryEntityTypeCode(IBusinessEntity entity, ExecutionContext context)
à Microsoft.Crm.ObjectModel.CustomControlDefaultConfigService.Create(IBusinessEntity entity, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.CreateUIData(EntityCreateInfo entityInfo, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.CreateInternal(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
[2018-09-28 08:27:56.839] Process: w3wp |Organization:e649666f-8b8c-e611-80e1-005056b929fd |Thread: 114 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 6db2c74d-3d03-45a8-9c26-69de336833a5 |ActivityId: 6db2c74d-3d03-45a8-9c26-69de336833a5 | AppWebService.CreateSoapException ilOffset = 0x4F
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Cannot insert duplicate key.
Error Number: 0x80040237
Error Message: Cannot insert duplicate key.
Error Details: Cannot insert duplicate key.
Source File: Not available
Line Number: Not available
Request URL: http://URL.../AppWebServices/SystemCustomization.asmx
Stack Trace Info: [CrmDuplicateRecordException: Cannot insert duplicate key.]
à Microsoft.Crm.ObjectModel.CustomControlDefaultConfigService.ValidateDuplicatePrimaryEntityTypeCode(IBusinessEntity entity, ExecutionContext context)
à Microsoft.Crm.ObjectModel.CustomControlDefaultConfigService.Create(IBusinessEntity entity, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.CreateUIData(EntityCreateInfo entityInfo, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.CreateInternal(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, ExecutionContext context)
à Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, Guid solutionId)
à Microsoft.Crm.Application.WebServices.SystemCustomization.EntityCreate.Execute(Guid solutionId, ParameterBag paramBag)
à Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.CreateEntity(XmlNode data)