"Exception 0xC0000005" error message when you use the System.Web.Mail namespace to send an e-mail message from an Exchange 2003 mailbox

This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
When you use the System.Web.Mail namespace to send an e-mail message from a Microsoft Exchange Server 2003 mailbox, you may receive the following exception error message:
Server Error in '/FromAttribute_336233.5555_1_001' Application.

Exception 0xC0000005 was generated at address 0x6eb51329
Description: An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Exception 0xC0000005 was generated at address 0x6eb51329
CAUSE
This problem may occur if the From field of the e-mail message contains more than 255 characters.
RESOLUTION
To resolve this problem, obtain the latest service pack for Exchange Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
836993 How to obtain the latest service packs for Exchange Server 2003
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Exchange Server 2003 Service Pack 1.
MORE INFORMATION
After you apply Exchange Server 2003 SP1, you still cannot successfully send an e-mail message when the From field contains more than 255 characters. But you do receive a generic error message in the code instead of the exception error message that is described in the Symptoms section.

For more information about the System.Web.Mail namespace, visit the following Microsoft Web site:
e2k3
Properties

Article ID: 842031 - Last Review: 12/08/2015 07:15:16 - Revision: 3.6

Microsoft Exchange Server 2003 Standard Edition, Microsoft Exchange Server 2003 Enterprise Edition

  • kbnosurvey kbarchive kbdev kberrmsg kbexchange2003sp1fix kbqfe kbfix kbbug KB842031
Feedback