Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: Unexpected Error (C00005) Occurred!! Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Ricky
Newbie
Newbie


Joined: 12 February 2007
Online Status: Offline
Posts: 12
Posted: 11 April 2008 at 2:08am | IP Logged Quote Ricky

Sometimes I find Unexpected Error (C00005) - By IIS Event Log. This Error occurs irregularly in our Source Codes. But it works good when I restart IIS (iisreset). There's no caused problem email in Mail Box.(All Mails are normal. - So it's not the problem about EML file).

IUSR_SERVER_NAME permission added on MailBee.dll and give all authorization.

But it still occurs an error!!


My Source Code are like this (ASP Codes)
========================================

<%

SET oMailer= Server.CreateObject("MailBee.POP3")

oMailer.LicenseKey = "Licence Key"
oMailer.ServerName = "Pop_Server"
oMailer.UserName = "Login_ID"
oMailer.Password = "Login_Pass"
oMailer.CodepageMode = "2"

IF oMailer.Connect Then
IF Not oMailer.IsError Then
IF oMailer.MessageCount > 0 THEN
For I = 1 To oMailer.MessageCount
SET objMsg = oMailer.RetrieveSingleMessage(I)    &nbs p;
     Response.Write objMsg.Subject & "<BR>"
     '//// And So Many Works Do........

SET objMsg = NOTHING
Next
END IF '///IF oMailer.MessageCount > 0 THEN
END IF '///IF Not oMailer.IsError Then
End IF '///IF oMailer.Connect Then
SET oMailer   = NOTHING

%>


It Sometimes crashed MailBee.dll at this Line
--> SET objMsg = oMailer.RetrieveSingleMessage(I)
and don't proceed any script..

Our Client often claims. How can I fix it?






Back to Top View Ricky's Profile Search for other posts by Ricky
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 April 2008 at 4:17am | IP Logged Quote Andrew

You created similar topic in the past. Is it the same issue? Are you sure you use the latest version of MailBee.dll?

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Ricky
Newbie
Newbie


Joined: 12 February 2007
Online Status: Offline
Posts: 12
Posted: 11 April 2008 at 6:14am | IP Logged Quote Ricky

No, It's not the same topic.
Last topic was solved by the latest version of MailBee.dll..

The last problem was caused by some specified EML file, but this problem is MailBee.dll is crashed by unexpected reason.

Is there another reason of this problem? For Example, Server Environment or other permission..

After IISRESET, MailBee.dll is working good, But after a few hours it crashed by unexpected reason..

Please give me advice.

Best regards,
Ricky
Back to Top View Ricky's Profile Search for other posts by Ricky
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 April 2008 at 6:54am | IP Logged Quote Andrew

Please enable logging POP3 session into a file, reproduce the issue and provide us with the last 100 KB of the log file (via Request Support form).

What is the maximum number of messages (and the total size of all these messages) in a POP3 mailbox your application powered by MailBee POP3 Component operates with?

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Ricky
Newbie
Newbie


Joined: 12 February 2007
Online Status: Offline
Posts: 12
Posted: 28 April 2008 at 1:04am | IP Logged Quote Ricky

I've sent caused EML File by Request Support Form.

Please check this out..


Best regards,
Ricky
Back to Top View Ricky's Profile Search for other posts by Ricky
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 April 2008 at 5:29am | IP Logged Quote Andrew

We couldn't reproduce the issue with the message you provided. In our reply, we asked you for a test account on your mail server containing the message which causes the issue.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Ricky
Newbie
Newbie


Joined: 12 February 2007
Online Status: Offline
Posts: 12
Posted: 28 April 2008 at 11:18pm | IP Logged Quote Ricky

I've announced test account information and test web page source to Request Support Form.


Best regards,
Ricky
Back to Top View Ricky's Profile Search for other posts by Ricky
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 April 2008 at 6:36am | IP Logged Quote Andrew

Thank you for the test account very much. It allowed us to reproduce and fix the issue. Try the updated MailBee.dll.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Ricky
Newbie
Newbie


Joined: 12 February 2007
Online Status: Offline
Posts: 12
Posted: 13 May 2008 at 7:08pm | IP Logged Quote Ricky

Ok it works good.

Best regards,
Ricky
Back to Top View Ricky's Profile Search for other posts by Ricky
 

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