Microsoft KB Archive/842031

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

Article ID: 842031

Article Last Modified on 10/25/2007

-

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 &quot;Applies to&quot; 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

Additional query words: e2k3

Keywords: kbdev kberrmsg kbexchange2003sp1fix kbqfe kbfix kbbug KB842031

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.