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



The information in this article applies to:

  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition

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 additional 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:

Modification Type:MinorLast Reviewed:11/10/2005
Keywords:kbDev kberrmsg kbExchange2003sp1fix kbQFE kbfix kbBug KB842031 kbAudITPRO