Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: ContextSwitchDeadlock downloading mails Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
piccolo
Newbie
Newbie
Avatar

Joined: 10 November 2008
Location: Italy
Online Status: Offline
Posts: 5
Posted: 10 November 2008 at 2:38am | IP Logged Quote piccolo

Hi, i´m trying to save the messages from an imap server. with 4000mails everything went fine, but if the mailserver contains more then 4000 messages i got an contextswitchdeadlock...

the code:
range = Imap.AllMessages
Dim msgs As MailMessageCollection
             msgs = imp.DownloadEntireMessages(range, True)

i have to save the hole range of all messages..

any suggestions to avoide the contextswitchdeadlock ?

Thanks
Back to Top View piccolo's Profile Search for other posts by piccolo
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 10 November 2008 at 5:33am | IP Logged Quote Igor

This exception is usually thrown by Managed Debugging Assistant if a background thread wakes up and finds a remote call doesn't pass in 60 seconds. You may either disable ContextSwitchDeadlock exception in your project or turn it off for all applications.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide