[2019-01-04 12:26:44.254] Process:CrmAsyncService |Organization:e1f18b90-ecb3-e211-b55e-000c29329206 |Thread: 7 |Category: EmailConnector |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 6e3f4111-b852-e811-9662-00155d0f380f | EmailConnectorTraceHandler.EmailConnectorTraceFormat ilOffset = 0x163 at EmailConnectorTraceHandler.EmailConnectorTraceFormat(Guid orgId, Object mailbox, Guid asyncEventId, TraceCategory traceCategory, TraceLevel traceLevel, String data) ilOffset = 0x163 at EmailConnectorTraceHandler.EmailConnectorTraceFormat(Guid orgId, Object mailbox, Guid asyncEventId, TraceCategory traceCategory, TraceLevel traceLevel, String format, Object[] args) ilOffset = 0x19 at MailboxDataAccess.IsInactiveMailbox(Entity mailbox, Boolean isMaxPostponeTime, Boolean isOutgoingMailbox) ilOffset = 0x1D at MailboxDataAccess.UpdateOutgoingMailbox(Mailbox mailbox, IAsyncEvent asyncEvent) ilOffset = 0x0 at OutgoingEmailProviderBase.UpdateMailboxes() ilOffset = 0x42 at OutgoingEmailProviderBase.Acknowledge() ilOffset = 0xD at OutgoingActivityProviderBase`1.Run() ilOffset = 0x5D at OutgoingActivityOperation.InternalExecute(ActivityAsyncEvent asyncEvent) ilOffset = 0xE4 at AsyncCallbackHandler`2.ResumeExecution(IAsyncEvent asyncEvent) ilOffset = 0x5B at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory) ilOffset = 0x63 at PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager) ilOffset = 0x22A at AsyncEventOperation.<.ctor>b__2(IServiceOperation operation) ilOffset = 0x0 at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18 at IsolatedOperation.Execute() ilOffset = 0x27 at MonitoredOperation.Execute() ilOffset = 0xD at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state) ilOffset = 0x16 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x79 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x9 at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x35 at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA4 >Mailbox checking active status process encounter null value: Exception: Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. > at System.ThrowHelper.ThrowKeyNotFoundException() > at System.Collections.Generic.Dictionary`2.get_Item(TKey key) > at Microsoft.Xrm.Sdk.AttributeCollection.get_Item(String attributeName) > at Microsoft.Crm.Asynchronous.EmailConnector.MailboxDataAccess.IsInactiveMailbox(Entity mailbox, Boolean isMaxPostponeTime, Boolean isOutgoingMailbox) >.
*This post is locked for comments
I think this fixed the main issue. The other issue was, that some plugin/steps did not work, even when they where enabled. After I figured that out I re-imported the same solution and that fixed this problem too. No idea why, and maybe it was caused by a restart we did with the server. But finally it works like it should. Thank you very much for your help!
Hi Michael,
thanks again for your help but it seems like that was only a part of the problem. After I did your steps it looked ok and the queue could retrieve the e-emails. But then, when I created the conversation rule (for the queue) the problem appeared again. The conversation rule is empty, with nothing inside (no checkboxes are checked) and just the name (no rule to create anything). This means for the conversation rule
If active: Not even a test mail from the crm mailbox test is coming into the queue
If inactive: The queue retrieves everything.
How can this be?
Thanks for your quick answer. I will test that out on monday when I am back in the office.
Best regards,
Bernhard
Each queue is connect to a mailbox. Open this mailbox and set the "Incoming Email", the "Outgoing Email" and "Appointments, Contacts, and Tasks" to NONE. Click Save. Then change the values back to your choice. Save again and click test & enable.
There was a bug in CRM with the mailboxes.
You can find some information here: dynamics.mittermair.pro/.../106
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156