Configure attachment size OWA Exchange 2013

Posted on 2014-09-23
Medium Priority
Last Modified: 2014-09-24
I have recently installed an Exchange Server 2013.
I have setup in all Send and Receive connectors a maximum message size of 100MB, through the EAC.
That works fine for Outlook.

However, in OWA, when trying to attach anything larger than 5MB, I get:
"The following files weren't attached because adding them would cause the message to exceed the maximum size limit of 5 MB"

I found this article explaining how to change the message and attachment size limit for OWA, using notepad (really) to edit manually 27 (yes, 27!!) entries in a bunch of config files.
I went thoroughly through all of them, changed them, and rechecked each one.
I ran a IISRESET after that.
I still have the problem.

I don't know where that '5MB' limit is coming from, but threre wasn't anything in the config files set to 5MB before the change (they were settings to 10MB, 35MB and 64MB, I think) so I'd guess this limit is coming from yet another location that I didn't find yet.
Question by:Daniel Cardozo
  • 3
  • 2
  • 2
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40339757
Go to Exchange Management Shell, and type the following command:

Set-transportconfig -MaxSendSize: 100000

OWA does not know how to interpret Unlimited values.


Go into "Organizational Transport Settings" and change "Maximum receive message size" and "Maximum send message size" to 100 mb
LVL 12

Expert Comment

by:Vaseem Mohammed
ID: 40339823
run these cmdlets from Exchange management shell and see what results you get.
get-receiveconnector | foreach{$_ | select Name,Maxmessagesize}
get-sendconnector | foreach{$_ | select Name, MaxMessageSize}
get-transportconfig | select MaxReceiveSize, MaxSendSize

Author Comment

by:Daniel Cardozo
ID: 40339870
I'm sorry, I had already setup that limit, I wasn't clear about that.
I checked using
Get-TransportConfig | fl  
and this is the output:

AddressBookPolicyRoutingEnabled                             : False
AnonymousSenderToRecipientRatePerHour                       : 1800
ClearCategories                                             : True
ConvertDisclaimerWrapperToEml                               : False
DSNConversionMode                                           : UseExchangeDSNs
JournalArchivingEnabled                                     : False
ExternalDelayDsnEnabled                                     : True
ExternalDsnDefaultLanguage                                  :
ExternalDsnLanguageDetectionEnabled                         : True
ExternalDsnMaxMessageAttachSize                             : 10 MB (10,485,760 bytes)
ExternalDsnReportingAuthority                               :
ExternalDsnSendHtml                                         : True
ExternalPostmasterAddress                                   :
GenerateCopyOfDSNFor                                        : {}
HygieneSuite                                                : Standard
InternalDelayDsnEnabled                                     : True
InternalDsnDefaultLanguage                                  :
InternalDsnLanguageDetectionEnabled                         : True
InternalDsnMaxMessageAttachSize                             : 10 MB (10,485,760 bytes)
InternalDsnReportingAuthority                               :
InternalDsnSendHtml                                         : True
InternalSMTPServers                                         : {}
JournalingReportNdrTo                                       : <>
LegacyJournalingMigrationEnabled                            : False
LegacyArchiveJournalingEnabled                              : False
LegacyArchiveLiveJournalingEnabled                          : False
RedirectUnprovisionedUserMessagesForLegacyArchiveJournaling : False
RedirectDLMessagesForLegacyArchiveJournaling                : False
MaxDumpsterSizePerDatabase                                  : 18 MB (18,874,368 bytes)
MaxDumpsterTime                                             : 7.00:00:00
MaxReceiveSize                                              : 100 MB (104,857,600 bytes)
MaxRecipientEnvelopeLimit                                   : 500
MaxRetriesForLocalSiteShadow                                : 2
MaxRetriesForRemoteSiteShadow                               : 4
MaxSendSize                                                 : 100 MB (104,857,600 bytes)
MigrationEnabled                                            : False
OpenDomainRoutingEnabled                                    : False
RejectMessageOnShadowFailure                                : False
Rfc2231EncodingEnabled                                      : False
SafetyNetHoldTime                                           : 2.00:00:00
ShadowHeartbeatFrequency                                    : 00:02:00
ShadowMessageAutoDiscardInterval                            : 2.00:00:00
ShadowMessagePreferenceSetting                              : PreferRemote
ShadowRedundancyEnabled                                     : True
ShadowResubmitTimeSpan                                      : 03:00:00
SupervisionTags                                             : {Reject, Allow}
TLSReceiveDomainSecureList                                  : {}
TLSSendDomainSecureList                                     : {}
VerifySecureSubmitEnabled                                   : False
VoicemailJournalingEnabled                                  : True
HeaderPromotionModeSetting                                  : NoCreate
Xexch50Enabled                                              : True

Just in case, I also checked in "Organizational Transport Settings" and both "Maximum receive message size" and "Maximum send message size" showed up as 100 MB.

Just in case, I did another iisreset, but the problems continued.
I checked from IE, Chrome and Firefox, from 2 different computers.
I can attach things up to 5MB but when I go beyond that limit, either with one or the sum of attachments, I will get that error message.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!


Author Comment

by:Daniel Cardozo
ID: 40339879
I ran all the commands suggested by :

get-receiveconnector | foreach{$_ | select Name,Maxmessagesize}
get-sendconnector | foreach{$_ | select Name, MaxMessageSize}
get-transportconfig | select MaxReceiveSize, MaxSendSize

and each value returned was 100MB
LVL 16

Accepted Solution

Joshua Grantom earned 2000 total points
ID: 40339932
you need to restart the exchange server, not just IIS.

You may be able to get away with restarting the "Exchange Information Store" service instead of the entire machine.
LVL 12

Expert Comment

by:Vaseem Mohammed
ID: 40339938
The link that you refered http://technet.microsoft.com/en-us/library/hh529949.aspx under Outlook Web App section some of the size is mentioned in bytes and kilobytes, did you convert the value correctly?

Author Closing Comment

by:Daniel Cardozo
ID: 40341532
In the end, it was a stupid thing.
I had already made all changes needed, but a restart of the exchange server, instead of a iisreset, was needed.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
In an Exchange Crossforest migration, the distribution groups can be a very complex operation that would cause loss of time, lots of issues and continued headaches if not solved in a timely manner. I had to do a similar project so I created a sc…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question