Hi
Not sure it is a threading issue but more likely the threading is exposing your code to a problem I've encountered for years and still don't have a solution
Assuming this is the case I found this issue with word, excel and others.
These applications operate as COM servers to your AddIn code. So when you make a call it initiates the request and provides the response. However, these COM servers have a timeout period, so if the request has not been handled then there is a timeout, and the calling program (EA) will be presented with the dialog stating server busy.
By default the timeout period I think is 5 secs - so seems long, but in some cases not long enough.
So the answer appears simple - increase the timeout. Well this was possible prior to .NET - see
http://support2.microsoft.com/kb/240809However, with .NET, access to COM services is via another layer, and this resulted in changes which mean that this property (along with others) is no longer accessible - see
http://msdn.microsoft.com/en-us/library/aa984469I've played with various workarounds but so far not found anything reliable and fortunately it doesn't present me with a big issue. Part of the problem with finding the solution is getting a repeatable test case against which to debug and test.
Is you case repeatable?
I hope this helps - and if this it is the same issue I would be interested to know if you i) have a repeatable test case, and ii) find a solution