Error: System.InvalidOperationException There is an error in XML document (1, 81633). System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

When sending an email message. The following exception occurs in the status log:

System.InvalidOperationException: There is an error in XML document (1, 81633). ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
   at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.ParseText()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlReader.ReadElementString()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read592_PhoneData(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read677_AddressData(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read678_MainAddressData(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read751_ConstitData(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read849_GetPagedConstitDataReply(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read1091_GetPagedConstitDataResponse()
   at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer401.Deserialize(XmlSerializationReader reader)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Blackbaud.Web.Content.Core.RE7Service.MasterService.GetPagedConstitData(GetPagedConstitDataArgs args)
   at Blackbaud.Web.Content.Core.Data.RecordSearch.GetPublicConstitResultsPage(Int32 pageNumber, Int32& numberFetched, Boolean recursive)
   at Blackbaud.Web.Content.Core.Data.RecordSearch.GetResultsPage(Int32 pageNumber, Int32& numberFetched, Boolean recursive, Boolean bypassPrivacy, Boolean bypassCache)
   at Blackbaud.Web.Content.Core.DataSourceConstituentFetch.GetResultsPage(Int32 PageNumber, Int32& NumberRecordsFetched)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessQuery2(BBQueryType oQuery, String sSourceKey, EmailList oList)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessList(Int32 iListID)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessAddressees()
   at Blackbaud.Web.Content.Core.EmailJob.DoProcessMailBlast()
   at Blackbaud.Web.Content.Core.EmailJob.ProcessMailBlast()
1. Refresh the email list that the email is based off of.
2. Copy the email message that is in exception status.
3. Send out the new email.
 

Environment

 BBNC: 6.45.2034.27
Raiser's Edge: 792.5508.5

Was this article helpful?