Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


Cause

This problem may occur if the From field of the e-mail message contains more than 255 characters.

↑ Back to the top


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

↑ Back to the top


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.

↑ Back to the top


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:

↑ Back to the top


Keywords: KB842031, kbbug, kbfix, kbqfe, kbexchange2003sp1fix, kberrmsg, kbdev

↑ Back to the top

Article Info
Article ID : 842031
Revision : 9
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 290