Skip to main content
Nintex Community Menu Bar

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

 

 

 

 

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.


 


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

 


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


Reply