11-24-05 01:49 AM
Hi Danielle,
I have a similiar situation where I do some processing, then instantiate
some objects (via COM Interop), do some processing against those objects,
then return back to the orch. More often than not, the BT Service stops then
restarts during this call. I may have the same situation as you experienced.
Could you explain your solution - reassign ing the principal? I'm not that
great with threading, etc - but I believe it's an issue with this COM Intero
p
object running under the BizTalk Parent process and often thought reassignin
g
this to a different thread might be a way to stabilize it. Any ideas?
Thanks for your post.
Dameon
--
Dameon
"danielle" wrote:
> Hi,
>
> Thanks for your responses. We figured out the problem. As part of
> calling our .net class, we were assigning our custom principal to the
> current thread and when it came to sending out the message, the service
> stopped. We ended up keeping a copy of the principal BT entered the
> class with, assigned our custom principal, then at the end of the .net
> class processing, re-assigned the original principal back to the
> current thread. The service happily stayed up after sending out the
> message. Quite odd behaviour.
>
> Hope this helps someone,
>
> Danielle
>
>
[ Post a follow-up to this message ]
|