Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Exchange server
Message
De
01/03/2020 13:23:43
 
 
À
29/02/2020 18:05:43
Information générale
Forum:
C#
Catégorie:
Web Services
Divers
Thread ID:
01673210
Message ID:
01673289
Vues:
53
Al wrote:
Maybe you or your admin could open a support ticket with O365 tech support.

Thanks Al, this is possible solution.
How I can do it ?

But.. maybe and this can be the problem:
Is it possible that the reason is also a very, very slow net connection that user have (user have about 0.2 Mb/s , I at home about 150 Mb/s)
When I test this program at home, I process 100 emails usually for 1 minute 8 sec.
What do you think?

Thanks
Vojislav



Maybe you or your admin could open a support ticket with O365 tech support.

>Yes, I know it's blocking me from the server side.
>
>I tried to start the link you provided: https://portal.office.com/adminportal/home
>and I got the message:
>
>You don’t have permission to access this page or perform this action.
>Close Support Information
>Correlation ID: weu#20226957-1398-4b99-b115-88e920f09b16
>
>I asked an administrator who has access, but he does not see (or he don't know) the logs,reports on the server side that are displaying the error I am getting:
>The request failed. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
>
>Thanks for the want to help me
>
>
>
>It's something server-side which is shutting you down. Viewing and monitoring the server logs is the quickest way to identify the issue. From the client side, we can only guess.
>
>To answer your private message:
>
>"Hi Al,
>
>Thanks for answer.
>
>Exchange server is on Cloud.
>How I can look configured Exchange limits ?"
>
>You can Google [exchange online limits] for some useful links. I don't know if the geographic area of your tenancy has different limits, or if your tenancy has any custom or user-defined limits. Your Exchange Online administrator may be able to help identifying the latter limits.
>
>https://docs.microsoft.com/en-us/exchange/monitoring/monitoring
>
>>Hi Al,
>>
>>Thansk for help.
>>
>>Sometimes it processes 10, sometimes 20 ... sometimes 50 emails, sometimes all emails in inbox.
>>I don't see the rule, when and why it reports an error: The request failed. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
>>Exchange is on the Cloud.
>>
>>But, I can open O365 via VPN (VNC) and monitor processing on that account.
>>
>>
>>
>>If you were working against on-premise Exchange, you could view its logs and/or the Windows Application Event Log to see exactly why Exchange is shutting you down. I don't know if you can see any logs in O365 - maybe get the tenancy administrator to check. This is probably the quickest way to find out what's going on. If you can't access logs maybe you could open a support ticket with O365 and get them to check for you.
>>
>>If you can't do that, you might look at configured Exchange limits e.g. maximum number of simultaneous connections, whether you're hitting any limits e.g. number of messages in a time period, if your account is subject to any quotas etc.
>>
>>Is O365 Information Rights Management in use - are you being denied access to certain e-mails?
>>
>>>Any ideas, please?
>>>
>>>
>>>Hi,
>>>
>>>I created one short application, which reads emails from MS Exchange, these emails move to another folder (MS Exch.server), then downloads and saves them to hdd as files .eml, and finish write to DB.
>>>it is started via a sch. task.
>>>
>>>
>>>Sometimes I get the following error:
>>>
>>>The request failed. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
>>>
>>>...
>>>
>>> ExchangeService _service;
>>>
>>> try
>>> {
>>> Console.WriteLine("Registering Exchange connection");
>>>
>>> _service = new ExchangeService
>>> {
>>> Credentials = new WebCredentials("username", "password")
>>> };
>>> }
>>> catch
>>> {
>>> Console.WriteLine("new ExchangeService failed. Press enter to exit:");
>>> return;
>>> }
>>>
>>> // office365 webservice URL
>>> _service.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");
>>>
>>> string fileName = lc_SaveAsFld + "NameOfLogFile.log";
>>>
>>> StringBuilder sb = new StringBuilder();
>>>
>>> Stopwatch stopwatch = new Stopwatch();
>>> stopwatch.Start();
>>>
>>> try
>>> {
>>>
>>> sb.Append("\r\n" + DateTime.Now.ToString("dd.MM.yyyy HH:mm:ss") + " ... " + "reading emails from Inbox " + "\r\n");
>>>
>>> // Read 100 mails
>>>
>>> int i = 0;
>>>
>>> foreach (EmailMessage email in _service.FindItems(WellKnownFolderName.Inbox, new ItemView(100)))
>>> {
>>>
>>> email.Load(new PropertySet(BasePropertySet.FirstClassProperties, ItemSchema.TextBody, ItemSchema.MimeContent));
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform