Thursday, 11 July 2013

BizTalk error : Attempted to access an unloaded AppDomain.



BizTalk errorReason: Attempted to access an unloaded AppDomain.



While accessing WCf service in one of my BizTalk application, I received the following error.



There was a failure executing the receive pipeline: "Unknown " Source: "Unknown " Receive Port: TwoWayLatencyService_RcvPort" URI: "/.svc" Reason: Attempted to access an unloaded AppDomain.



Cause : This happens when there are several Web Services with the same Application Pool, and the first is inactive for a long period of time, all the others are inactive.



Solution : after restarting the IIS server it worked.

2 comments:

  1. Thanks for this post. IISRESET worked for me too.

    There was a huge list of failure on SOAP adapter after this error. None of the receive locations were able to process.

    Did you find any way to prevent this from happening ?

    ReplyDelete
  2. Hi I am also looking for a permanent solution to prevent this from happening. Please advice..

    Thanks!

    ReplyDelete