Hello Frank,
Thanks for your post. As I understand, the problem you are facing is that
it fails to unload AppDomain with the error regarding "thread cannot be
unwound out of it". Please correct me if there is any misunderstanding. Now
I'd like to share the following information with you:
Based on my experience, I believe that the thread is currently executing in
unmanaged code so that the CLR cannot take control of that thread. In order
to unload an appdomain, every thread with stack in that appdomain must be
unwound out of the appdomain first. If the CLR cannot take control of a
thread, it cannot unwind it. I am afraid that we cannot work around this
issue.
I strongly recommend you contact the vendor of the 3rd-party component to
fix the hang problem in the foreground thread.
Please feel free to let me know if you have any problems or concerns.
Have a nice day!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.