Skip to main content
Nintex Community Menu Bar
Solved

Email Exchange Service Broker - Error 50% of the time

  • July 24, 2017
  • 3 replies
  • 16 views
  • Translate

Forum|alt.badge.img+8

Hi again.

 

This is getting so frustrating!  

 

In essence, I am using the Exchange Mailbox Custom Service Objects broker to go into exchange, pass in the Email ID and pull out the body of the email for my SmartForm user to read.  

 

When they execute the smart object, about half the time it works perfectly.

 

The other half the time I get and error that reads:

 

Could not load file or assembly 'file:///D:Program Files (x86)K2 blackpearlServiceBrokerK2.ServiceBroker.Custom.ExchangeMailboxService.dll' or one of its dependencies. The system cannot find the file specified.

 

Although not perfect, typically when I get the error, I can refresh the form, try the button again and it will work as normal.  It will then work normally UNTIl I refresh the form again, then it will start giving the error UNTIL I refresh the form again.  

 

My private theory is that this is related to the number of times I have installed and uninstalled the broker trying to get it to work.  There are multiple service objects related to this in the K2 database...when I do this query get multiple instances of that MailboxEmails service object.  Is it possible that K2 is cycling through them and only some are actually working and some are producing the error?

 

It's worth noting that I worked with K2 support on this and we DID delete some rows from the SmartBroker.ServiceInstance table related to this service broker...I am wondering if we shoudl ALSO have deleted these service objects as well.  

 

10803i8A1765E89A5460E4.jpg

 

Anyway, help is as always appreciated.

 

Rob

 

 

 

 

Best answer by Albarghouthy

Hi Robert,


 


Try the following:


 


Go to 


Program Files (x86)K2 blackpearlHost ServerBinHostServer.exe.config


 


Find this node <runtime>


Add the following:


      <loadFromRemoteSources enabled="true"/>


 


Save and restart the BP service.


 

View original
Did this topic help you find an answer to your question?

Albarghouthy
Forum|alt.badge.img+16

Hi Robert,


 


Try the following:


 


Go to 


Program Files (x86)K2 blackpearlHost ServerBinHostServer.exe.config


 


Find this node <runtime>


Add the following:


      <loadFromRemoteSources enabled="true"/>


 


Save and restart the BP service.


 

Translate

Forum|alt.badge.img+8

It's working properly now, thank you!

 

I'm not sure if what you suggested fixed it or not...when I was working with the server admin on making that change, he reminded me that we have dual load balanced servers.  I had not installed the broker on the 2nd server...when I did that (along with your fix) it seems to work perfectly now.

 

Thanks again,

 

Rob

 

Translate

Albarghouthy
Forum|alt.badge.img+16

Hi,


 


I have seen this error before, here is my main thread about this issue.


 


Hope you find the following article useful:


 


https://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings