Asked by:
CRM 2013 error when adding a new appointment in Outlook.

Question
-
When added NEW DEADLINE The outlook on the calendar, I received an error in CRM.
/////ERROR//////////////////////////////////////////////////////////////////////////////////////////
[2015-03-05 09:20:34.403] Process: w3wp |Organization:b5eb04f5-c174-e411-8f8d-0019990163cf |Thread: 28 |Category: Exception |User: 04b7d2dc-0428-e211-8585-000c29667e7c |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | CrmException..ctor ilOffset = 0x7
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7
at CrmException..ctor(String message, Int32 errorCode) ilOffset = 0x5
at SecurityLibrary.RetrievePrivilegeForUser(IUser user, Guid privilege, ExecutionContext context) ilOffset = 0x14B
at SecurityLibrary.TryCheckPrivilege(Guid user, Guid privilege, ExecutionContext context) ilOffset = 0x3D
at SecurityLibrary.TryCheckPrivilege(SecurityPrincipal principal, Guid privilege, ExecutionContext context) ilOffset = 0x42
at SecurityLibrary.CheckPrivilege(SecurityPrincipal principal, Guid privilege, ExecutionContext context) ilOffset = 0x0
at AddressManager.GetOwnerCandidate(AddressEntry addressEntry) ilOffset = 0x50
at AddressResolver.BuildResolvedAddressEntry(AddressCategory category, BusinessEntity businessEntity, Guid& objectId, Boolean active, String emailAddressMatched) ilOffset = 0x58
at AddressResolver.GetPrunedList(BusinessEntityCollection responseCollection, AddressCategory category, Hashtable removeDuplicateFilter) ilOffset = 0x6B
at AddressResolver.DoResolve(AddressEntry[] addressEntriesToResolve, Int32[] objectTypes, Boolean matchPartialEmailAddresses) ilOffset = 0x70
at AddressManager.ResolveEmailAddressInternalHelper(String emailAddresses, Int32[] objectTypeCodes) ilOffset = 0x1F
at CommunicationActivityServiceBase.ResolveUnresolvedParties(BusinessEntityCollection parties, Int32[] objectTypes, ExecutionContext context) ilOffset = 0x5C
at AppointmentService.Book(BusinessEntity entity, ExecutionContext context) ilOffset = 0x3D
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xCF
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x200
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x6C
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x1F1
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26
at OrganizationSdkService.Execute(OrganizationRequest request) ilOffset = 0xD
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x241
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0x100
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x48
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at Wrapper.Resume(Boolean& alreadyResumedNoLock) ilOffset = 0x1B
at ThreadBehavior.SynchronizationContextStartCallback(Object state) ilOffset = 0x0
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA3
>Crm Exception: Message: SecLib::RetrievePrivilegeForUser failed - no roles are assigned to user. Returned hr = -2147209463, User: ed2ef8c8-69db-e311-9816-0019990163cf, ErrorCode: -2147209463
[2015-03-05 09:20:34.572] Process: w3wp |Organization:b5eb04f5-c174-e411-8f8d-0019990163cf |Thread: 28 |Category: Platform.Sdk |User: 04b7d2dc-0428-e211-8585-000c29667e7c |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | VersionedPluginProxyStepBase.Execute ilOffset = 0x65
>Web Service Plug-in failed in SdkMessageProcessingStepId: {E4C9BB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: appointment; Stage: 30; MessageName: Book; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.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.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: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
0 (0x0000) is an invalid culture identifier.
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(Int32 culture)
at Microsoft.Crm.Common.BusinessEntities.AppointmentConflictNotificationGenerator.AddNotifications(NotificationAdder notifications, ErrorInfo[] errorInfoArray, CrmResourceManager crmResourceManager, IOrganizationContext context)
at Microsoft.Crm.Common.ObjectModel.AppointmentService.Book(BusinessEntity entity, ExecutionContext context)
.
[2015-03-05 09:20:34.579] Process: w3wp |Organization:b5eb04f5-c174-e411-8f8d-0019990163cf |Thread: 28 |Category: Exception |User: 04b7d2dc-0428-e211-8585-000c29667e7c |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | CrmException..ctor ilOffset = 0x7
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7
at CrmException..ctor(Exception innerException, Int32 errorCode, Object[] arguments) ilOffset = 0xB
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x6C
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x1F1
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26
at OrganizationSdkService.Execute(OrganizationRequest request) ilOffset = 0xD
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x241
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0x100
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x48
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at Wrapper.Resume(Boolean& alreadyResumedNoLock) ilOffset = 0x1B
at ThreadBehavior.SynchronizationContextStartCallback(Object state) ilOffset = 0x0
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x0
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA3
>Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
0 (0x0000) is an invalid culture identifier.
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(Int32 culture)
at Microsoft.Crm.Common.BusinessEntities.AppointmentConflictNotificationGenerator.AddNotifications(NotificationAdder notifications, ErrorInfo[] errorInfoArray, CrmResourceManager crmResourceManager, IOrganizationContext context)
at Microsoft.Crm.Common.ObjectModel.AppointmentService.Book(BusinessEntity entity, ExecutionContext context)
[2015-03-05 09:20:34.580] Process: w3wp |Organization:b5eb04f5-c174-e411-8f8d-0019990163cf |Thread: 28 |Category: Platform |User: 04b7d2dc-0428-e211-8585-000c29667e7c |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | MessageProcessor.Execute ilOffset = 0x1C5
>MessageProcessor fail to process message 'Book' for 'appointment'.
[2015-03-05 09:20:34.581] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 28 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | ExceptionConverter.ConvertToFault ilOffset = 0x69
>UNEXPECTED: no fault?
[2015-03-05 09:20:34.582] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 28 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 8b0e1332-9d32-456b-b953-aa5bfc9c1912 | ExceptionConverter.ConvertMessageAndErrorCode ilOffset = 0x23B
>System.Globalization.CultureNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #895E889A: System.Globalization.CultureNotFoundException: Culture is not supported.
>Parameter name: culture
>0 (0x0000) is an invalid culture identifier.
> at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
> at System.Globalization.CultureInfo..ctor(Int32 culture)
> at Microsoft.Crm.Common.BusinessEntities.AppointmentConflictNotificationGenerator.AddNotifications(NotificationAdder notifications, ErrorInfo[] errorInfoArray, CrmResourceManager crmResourceManager, IOrganizationContext context)
> at Microsoft.Crm.Common.ObjectModel.AppointmentService.Book(BusinessEntity entity, ExecutionContext context)/////END ERROR//////////////////////////////////////////////////////////////////////////////////////////
And then the date of the duplicates in the calendar in Outlook and CRM.
My version CRM 2013 - 6.1.2.112
Crm2013wasthemigratedfromthe 2011 version.
Does anyone have any idea how to solve it.
Thursday, March 5, 2015 8:48 AM
All replies
-
expected in past, this was the solution for us: http://social.technet.microsoft.com/wiki/contents/articles/5727.microsoft-dynamics-crm-outlook-installation-issue.aspx
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
Thursday, March 5, 2015 10:11 AM -
I've already tried that, didn't help.
It also occur on admin account.
Thursday, March 5, 2015 10:43 AM -
please create a new user and create a new role with full rights as mentioned in the post and try with it, just to be sure that it is not related to the permisssion
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
Thursday, March 5, 2015 12:55 PM -
I checked it, these errors occur on all users. Below the main errors that occur.
Crm Exception: Message: SecLib::RetrievePrivilegeForUser failed - no roles are assigned to user. Returned hr = -2147209463, User: ed2ef8c8-69db-e311-9816-0019990163cf, ErrorCode: -2147209463
Web Service Plug-in failed in SdkMessageProcessingStepId: {E4C9BB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: appointment; Stage: 30; MessageName: Book; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.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.
Inner Exception: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
0 (0x0000) is an invalid culture identifier.Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
0 (0x0000) is an invalid culture identifier.MessageProcessor fail to process message 'Book' for 'appointment'.
System.Globalization.CultureNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #895E889A: System.Globalization.CultureNotFoundException: Culture is not supported.
>Parameter name: culture
>0 (0x0000) is an invalid culture identifier.Thursday, March 5, 2015 1:34 PM -
if you created a new user and also created a new userole and having this issue i would open a case
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
Thursday, March 5, 2015 2:35 PM -
have you looked a this? Not sure if your using on prem or not but assuming so since the traces appear to server side. https://support.microsoft.com/kb/2500917
Disregaurd the symptems inthe KB, just make sure you service accounts are not in CRM or give them the system admin role. Option 1 is suggested though.- Edited by ChrisDodgson1 Thursday, March 5, 2015 9:59 PM
- Proposed as answer by Daniel Ovadia Monday, March 9, 2015 9:47 AM
Thursday, March 5, 2015 9:55 PM -
Some are suggesting that if you uncheck the "Automatically move records to the owners default queue when record is created or assigned" under the appointment entity this problem will go away. It didn't work for me but I'm looking into this.
Same exception here:
https://community.dynamics.com/crm/f/117/p/152886/366072.aspx#366072
Tuesday, March 31, 2015 3:17 PM