2
The given key 'XXXXX' was not present in the dictionary.
Question asked by Mark Thornton - 5/6/2025 at 1:53 PM
Unanswered
I went looking through my ERROR logs and am finding messages stating a given key was not present. This is occurring every few days, sometime once a day, others multiple. Any ideas what this is referring to?

[2025.04.21] 10:34:15.947 [MAIL SERVICE] The given key '83929' was not present in the dictionary.
[2025.04.21]    at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
[2025.04.21]    at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
[2025.04.21]    at MailService.WCF.Services.EMailService.ConvertInternalMessage(String currentUserEmailAddress, String currentUserDomain, String currentUserUserName, Boolean isSysAdmin, String resourceEmail, MessageData message, UInt32 UID, String virtualAppPath, String absolutePath, MessageDataResult result, String folder)
[2025.04.21]    at MailService.WCF.Services.EMailService.GetMessage(String emailAddress, String domain, String userName, Boolean isSysAdmin, Boolean isDomainAdmin, String token, MessageSelectInput input, String virtualAppPath, String absolutePath, String type) 

9 Replies

Reply to Thread
0
Dillon Murray Replied
Employee Post
Hi Mark,

I would like to take a look into this a little further, would it be okay if we went ahead and created a ticket for what you are seeing? I hope I can give you a little more clarity regarding this so just let me know if that works for you.

Thank you,


Dillon Murray System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Mark Thornton Replied
Yep, I will submit a ticket.
0
Dillon Murray Replied
Employee Post
Hi Mark,

I can actually just create one off of this post if thats easier.

Thank you,
Dillon Murray System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Mark Thornton Replied
Well, poop. When I try and create a ticket I get the spinning wheel of death on submission, FYI. Gonna keep trying.
1
Kyle Kerst Replied
Employee Post
Hey Mark :) Just wanted to give you a heads up that I was able to replicate the ticket submission issue when submitting with attachments so I'm getting that written up for development now. 
Kyle Kerst Acting IT Manager SmarterTools Inc. www.smartertools.com
0
We also see some similar reports every day in the "ERROR" log (some examples below), I'd be curious to know what they are referring to...


Examples:

[2025.05.03] 10:23:07.964 [MAIL SERVICE] The given key '4794' was not present in the dictionary.
[2025.05.03] 10:23:59.284 [MAIL SERVICE] The given key '3120' was not present in the dictionary.
[2025.05.03] [MAIL SERVICE] The given key '3121' was not present in the dictionary.    at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
[2025.05.05] 10:16:48.108 [MAIL SERVICE] The given key '42411' was not present in the dictionary.
[2025.05.05] 16:31:55.448 [MAIL SERVICE] The given key '740' was not present in the dictionary.
[2025.05.05] [MAIL SERVICE] The given key '743' was not present in the dictionary.    at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
[2025.05.06] 09:25:35.015 [MAIL SERVICE] The given key '937' was not present in the dictionary.
[2025.05.06] 10:24:04.727 [MAIL SERVICE] The given key '3161' was not present in the dictionary.
[2025.05.07] 12:07:37.208 [MAIL SERVICE] The given key '5687' was not present in the dictionary.
[2025.05.08] 14:13:36.622 [MAIL SERVICE] The given key '4890' was not present in the dictionary.
[2025.05.11] 09:49:43.139 [MAIL SERVICE] The given key '4945' was not present in the dictionary.
[2025.05.11] [MAIL SERVICE] The given key '4952' was not present in the dictionary.    at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException(TKey key)
[2025.05.12] 07:54:27.351 [MAIL SERVICE] The given key '4960' was not present in the dictionary.
[2025.05.12] 07:54:46.563 [MAIL SERVICE] The given key '3532' was not present in the dictionary.

Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)
0
Douglas Foster Replied
I reported this against build 9155.  Too understand the cause, additional logging details were added to build 9238, but I have not yet upgraded to that version.
0
Mark Thornton Replied
I threw caution to the wind and upgraded to build 9245 last night to get the additional logging details for support.
0
@Mark Thornton
Build 9245 is working very well for us (all our 6 servers are using it for more than 2 weeks now), so I think you will have no problems.

But this strange log keeps appearing every day and we still don't know what it means...
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)

Reply to Thread

Enter the verification text