Mail Event Problem

  • 19 January 2015
  • 3 replies
  • 3 views

Badge +3

Dear Expert,

 

Our K2 Server suddenly has problem, it can't send email (before it is fine).

we have some workflow using email event and the workflow got an error when send email.

 

here is the error that i found in workspace error's profile.

 

Source : MailEvent

Description : Could not load file or assembly 'Microsoft.Exchange.WebServices.dll' or one of its dependencies. Access is denied.

 

We also try to make a test by using new workflow and just make an email event. but it's not work. still the same error.

 

Is there anyone know what's going on with the email event, and let me know how to fix this problem.

 

This is the HostServerLog :

 

"74351374","2015-01-19 16:36:44","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74351374","2d7a7169ed204af2a493607025686264",""
"74351843","2015-01-19 16:36:59","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74351843","bd5c995670364cc1a545a6dd21b8ef92",""
"74352162","2015-01-19 16:37:02","Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 ServerEvent: Could not load file or assembly 'Microsoft.Exchange.WebServices.dll' or one of its dependencies. Access is denied.
InnerException: Could not load file or assembly 'Microsoft.Exchange.WebServices.dll' or one of its dependencies. Access is denied.","","","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352162","e380eadf386e4f3ca14373a4a7ea232d",""
"74352429","2015-01-19 16:37:14","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352429","f28541f957d946e0868e593aa6f95a41",""
"74352698","2015-01-19 16:37:14","Error","General","24148","UMEmptyQError","K2DestQueue.RunDestQueue","24148 The User Manager 127.0.0.1 returned an empty queue.","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352698","db35013a190e4d3395152591606e1047",""
"74352699","2015-01-19 16:37:14","Error","General","24148","UMEmptyQError","K2DestQueue.RunDestQueue","24148 The User Manager 127.0.0.1 returned an empty queue.","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352699","01c017b9dc124ea6817f8c950186d6f9",""
"74352898","2015-01-19 16:37:29","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352898","cd4f55fb01c5445f8d1fed7e80ff2b2b",""
"74352917","2015-01-19 16:37:44","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352917","9ae5d0e44fea40e0a75b3978c036a320",""
"74352936","2015-01-19 16:37:59","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352936","4eb2f18f303a4aab86d5366b45243ab8",""
"74352955","2015-01-19 16:38:14","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352955","903e1466f2a943509214b59aa9aad1e8",""
"74352974","2015-01-19 16:38:29","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352974","67f30f1ef2854a0eac16d108466ac217",""
"74352993","2015-01-19 16:38:44","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74352993","f90f316fc1ea4597ba87d36c9b84590a",""
"74353012","2015-01-19 16:38:59","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353012","821d286f1b7d4c699eb346292a5553a8",""
"74353031","2015-01-19 16:39:14","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353031","d96f2f9b72984773ba45145ad64445a5",""
"74353107","2015-01-19 16:39:29","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353107","a1f36334447047039c5ea233dd02a51e",""
"74353131","2015-01-19 16:39:44","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353131","ccbc19dab4de4bc0bd5b350760a6d9d1",""
"74353167","2015-01-19 16:39:59","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353167","d2dddb19a14946318dbe399cced60613",""
"74353186","2015-01-19 16:40:14","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353186","309f003588264b5c8daa3f14fd092fc4",""
"74353205","2015-01-19 16:40:29","Error","General","28039","CouldNotConnect","K2ClusterServer.CheckRunning","28039 Could not connect to K2Server","anonymous","0.0.0.0","K2-DEVELOPMENT:C:Program Files (x86)K2 blackpearlHost ServerBin","74353205","3df51f8cd7a54eea8580804f9b9c87e2",""

 

Many Thanks for your attention.

 

Best Regards,

Musa


3 replies

Badge +10

Firstly, I would check that the dll actually exists n the K2 servers. Just do a search for that dll in the K2 server. If it existx, check the permission on that file so that the servce account has read permission on the dll. (Maybe this has changed) 

Badge +7

Hi Musa,

 

As a followup to someone's reply -- Here's a reference document that may be useful regarding the Microsoft.Excahnge.WebServices.dll: http://msdn.microsoft.com/en-us/library/office/dn528373(v=exchg.150).aspx 

 

Along with that, since the "28039","CouldNotConnect","K2ClusterServer.CheckRunning" seems to be popping up a ton -- is there a uninstalled K2 server that may still be being referenced? You may find old server references in the following tables:

 

[K2].[HostServer].[Server]
[K2].[Server].[Server]

You can remove any erroneous references from the two tables then restart the K2HostServer service on all other K2 servers in the farm.
Please note: Make a backup of those two tables (or preferably your entire K2 DB) first if you choose to try this.

 

Badge +3

Dear Alysa and Someone,

 

Thanks for your advice and information.

I did all your suggestion, but still same problem.

 

but i found here : https://social.microsoft.com/Forums/en-US/3dd0b926-ce45-486a-92b2-aeaf991dc285/microsoftexchangewebservicesdll-access-is-denied?forum=crm

 

my shopos blocking the Microsoft.Exchange.WebServices.dll, i don't know why, maybe i try to much mailing for testing so shopos suspicious it as spammer or something.

 

 

But for anyone who get this error hopes my information can help you.

 

Thank you :),

 

Musa

Reply