Lately, I've been getting this exception while using the Search method. Does anyone know why that might be?
Rebex.Net.EwsException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no whitespace characters are allowed to appear before it. Line 1, position 63752.
---> System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no whitespace characters are allowed to appear before it. Line 1, position 63752.
at System.Xml.XmlTextReaderImpl.ParsePI(StringBuilder piInDtdStringBuilder)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at fxvfh.pllks.kxqwt[T](XmlReader p0, xspmd& p1)
at fxvfh.pllks.duppv[T](Stream p0, xspmd& p1)
at fxvfh.atsyx.wwdun[T](String p0, Object p1)
at Rebex.Net.Ews.tzhjw(EwsFolderId p0, EwsItemFields p1, EwsListView p2, EwsSearchParameter p3, String p4)
at Rebex.Net.Ews.voenm.kfezu()
at Rebex.Net.Ews.hubdz[T](String p0, Func1 p1, mfeih p2)
--- End of inner exception stack trace ---
at Rebex.Net.Ews.hubdz[T](String p0, Func
1 p1, mfeih p2)
at Rebex.Net.Ews.Search(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, EwsSearchParameter[] condition)