Friday, July 1, 2011

Error for Solicit-response send port using HTTP/SOAP adapter

Event Type:   Error
Event Source: BizTalk Server 2006
Event ID:       5754
Description:
A message sent to adapter "HTTP" on send port "<SendPortName>" with URI "<URL>" is suspended.
 Error details: The underlying connection was closed: An unexpected error occurred on a receive.

You can get the similar error for SOAP adapter too.

Cause
On production environment this error was occurring randomly once or twice in a month. After lot of investigation I came to know that the AppPool was getting recycled before Web Page can respond to the request.
Though there are no of reasons for AppPool recycle but in this case the IIS was hosted on a machine having sufficient resources(memory,CPU). I figured out that the app pool used for web application was configured to get recycled after 1740 minutes (which is default setting when you create new App Pool).

Resolution
Open the Internet Information Services (IIS) Manager go to Application Pool  and open the properties of the required application pool. Uncheck the "Recycle worker processes (in minutes):" check box.


Cheers
Rohit Sharma

3 comments:

  1. WCF Online Training
    Biztalk Admin Online Training
    Biztalk Server Online Training
    COURSE OUT LINE
    Introductions to Enterprise Application Patterns and BizTalk Server, Understanding BizTalk Framework, Setting up a BizTalk Server Environment, Messaging Architecture, Setting up a BizTalk Server Environment Engine, Business Activity Monitoring, WCF Services Schemas in BizTalk, Transformations in BizTalk, The BizTalk Messaging Engine and Pipelines, Adapters in BizTalk, Orchestrations, Advanced Orchestrations, Integration Patterns in BizTalkBizTalk Rules with BizTalk, Testing BizTalk Artifacts, BizTalk Server Instrumentation, Error Handling, and Deployment,Tracking and Deploying BizTalk Solutions, Monitoring and Maintenance, Administration, BizTalk Server Performance andTuning, BizTalk Tools, BizTalk 2013 Features, ESB Toolkit 2.
    http://www.21cssindia.com/courses/biztalk-server-online-training-213.html

    ReplyDelete
  2. Dear Sir,

    I have a biztalk send port calling an API in Apache/CA Gateway/Linux machine, and I get the same error on the calling port WCF webhttp Receive. How do I find the AppPool in this scenario? Does Apache have anything equivalent to AppPool, where I can check?

    Please advise

    Thanks

    ReplyDelete