title: The adapter failed to transmit message going to send port in BizTalk Server 2009
body: <p>I am using BizTalk Server 2009 to send EDI messages to my client using AS2. I am able to send messages, but getting an error while sending messages that exceeds 5KB of file size. I checked with the partner whether they are using any restrictions on file size, but they are able to exchange even some GB's of files with other trading partner.</p>
  
  <p>I compared the files that are successfully sent with the one that failed. But found no difference between two except LIN, PIA, QTY and other segments.</p>
  
  <p>I found the below error when tracked in event viewer.</p>
  
  <blockquote>
    <p>The adapter failed to transmit message going to send port "SendTextFile" with URL "<a href="http://xxclienturlxx.com:2080/ipnet/as2" rel="nofollow">http://xxclienturlxx.com:2080/ipnet/as2</a>". It will be retransmitted after the retry interval specified for this Send Port. Details:"The remote server returned an error: (500) Internal Server Error.".</p>
  </blockquote>
  
  <p>How do I resolve this?</p>