Error 'The attachment could not be added to the message' when uploading files under Windows 2003


SYMPTOMS

Error 'The attachment could not be added to the message' occurs when uploading files under Windows 2003.

The additional error string reported is:

File save failed for the following reason: C:\Program Files\MailEnable\POSTOFFICES\\MAILROOT\\Drafts\ is an invalid path

The following error may also display:

Error MEUP001: The ASP Session expired during the upload.

CAUSE

IIS6.0/Windows 2003 uses a setting called 'AspMaxRequestEntityAllowed' to specify the maximum number of bytes allowed in the body of an ASP request. File uploads may contain more data than the 200K allowed by the default setting, and therefore this maximum value will need to be increased.

RESOLUTION

1. Stop the World Wide Web Publishing Service. This can be done from the Windows Command Prompt as: net stop w3svc
2. In the C:\Windows\System32\Inetsrv directory, locate a file called metabase.XML.
3. Copy the original file into Notepad and find the line "AspMaxRequestEntityAllowed"
4. Change the value of this entry to "1073741824". (This specifies a maximum post size of 1 GB)
5. Save the file
6. Start the World Wide Web Publishing Service. This can be done from the Windows Command Prompt as: net start w3svc

Note: If the Metabase.XML file is locked, try starting Windows in Safe-mode to be able to change that file.

Note: If the server is accessed remotely and Safe-mode is not an option, please check the following link which explains how to edit the Metabase.XML while server is running.
http://www.microsoft.com/technet/prodtechnol/exchange/guides/E2k3TechRef/5ac1fa4d-8bb3-496b-ad9d-e71c50468d93.mspx

MORE INFORMATION

Web mail downloads a file called "Getattachments" as opposed to the file: http://www.mailenable.com/kb/content/article.asp?ID=ME020350

Unable to download attachments greater than 4Mb in web mail using Windows 2003: http://www.mailenable.com/kb/content/article.asp?ID=ME020254

Attachments being removed: http://www.mailenable.com/kb/content/article.asp?ID=ME020266



Product:MailEnable (All Versions)
Article:ME020179
Module:General
Keywords:attachment,could,not,be,added,message,windows,2k3,Error,MEUP001,2003,ASP
Class:PRB: Product Problem or Issue
Revised:Wednesday, May 4, 2016
Author:
Publisher:MailEnable