Home Page › Forums › BizTalk 2004 – BizTalk 2010 › An internal server error was encountered while attempting to transmit the message › Re: An internal server error was encountered while attempting to transmit the message
May 28, 2010 at 8:26 PM
#24834
Also change
using (System.IO.Stream Msg = pInMsg.BodyPart.GetOriginalDataStream())
to
System.IO.Stream Msg = pInMsg.BodyPart.GetOriginalDataStream()
when you exit the using block the stream will be disposed