none
Lost connection before EWS response RRS feed

  • Question

  • My application successfully processed first request and get required response but seems application lost connection after second EWS request, without any response


    1) Request : To get calendar folder of a particular mailbox account
       Response: Success (get list of all items)

    clnd = CalendarFolder.Bind(objService, New FolderId(WellKnownFolderName.Calendar, strMailBox))
     
    2) Request : Get all appointments item list of a particular date
       Response: No response
    For Each _item As Item In clnd.FindAppointments(New CalendarView(dtAppointmentDate, dtAppointmentNext))

    After 2) request, application lost connection and throws below mentioned error

    "Request failed. The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."

     

    Please help me out

     

    Wednesday, November 30, 2011 10:26 AM