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

Article translations Article translations
Article ID: 842031 - View products that this article applies to.
Expand all | Collapse all

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:
http://msdn2.microsoft.com/en-us/library/system.web.mail(vs.71).aspx

Properties

Article ID: 842031 - Last Review: October 25, 2007 - Revision: 3.6
APPLIES TO
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition
Keywords: 
kbdev kberrmsg kbexchange2003sp1fix kbqfe kbfix kbbug KB842031

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com