Hello All Experts,
I am getting the below error on the creation of the record .
An unexpected error occurred.
this error is coming from one of the plugin.
after doing tracing below message is logged for the same plugin.
MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Plugin- CustomEntity-System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
Error Number: 0x80040265
Error Message: Plugin- CustomEntity-System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
Error Details: Plugin- CustomEntity -System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
Source File: Not available
Line Number: Not available
Request URL:
Stack Trace Info: [CrmException: Plugin- CustomEntity-System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: An unexpected error occurred. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).]
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)
at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck)
at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.UpdateEntity(Entity entity, Boolean retrieve)
at Microsoft.Crm.Core.Application.WebServices.InlineEdit.SaveCommand.ExecuteCommand(String commandXml)
at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.Execute(String commandXml)
[2017-06-05 02:33:20.572] Process: w3wp |Organization:e279e327-f744-e711-8107-005056b72bdf |Thread: 7 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: d9b2c064-5612-40e7-9991-88d1a736663d | SystemAlerts.GetAlertsLastAccessTime ilOffset = 0x3B
>Exception on getting the last alerts access time : Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Core.Application.WebServices.SystemAlerts.GetAlertsLastAccessTime()