Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Connecting to Dynamics CRM throwing “The request was aborted: The request was canceled.” exception

$
0
0

I'm developing a Windows service that reads CSV files and adds records to Dynamics CRM 2011 using the service.create() method. It throws the following exception and I've been unable to determine why:

Exception Message: The request was aborted: The request was canceled.

Inner Exception:

Date Time: 3/14/2016 1:15:56 PM

Stack Trace:    at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
   at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.Xml.XmlTextWriter.Flush()
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
   at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Serialize(SoapClientMessage message)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at myServ.CrmSdk.CrmService.Execute(Request Request)
   at myServ.myServ.DeleteReceiptsByRecpDate(DateTime dtToday, String AbcAgency, CrmService service)
   at myServ.myServ.timer1_Elapsed(Object sender, ElapsedEventArgs e)



Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images