Link to home
Start Free TrialLog in
Avatar of Daniel Cardozo
Daniel CardozoFlag for United States of America

asked on

Configure attachment size OWA Exchange 2013

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.
http://technet.microsoft.com/en-us/library/hh529949.aspx
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.
Avatar of Joshua Grantom
Joshua Grantom
Flag of United States of America image

Go to Exchange Management Shell, and type the following command:

Set-transportconfig -MaxSendSize: 100000

OWA does not know how to interpret Unlimited values.

or

Go into "Organizational Transport Settings" and change "Maximum receive message size" and "Maximum send message size" to 100 mb
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
Avatar of Daniel Cardozo

ASKER

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.
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
ASKER CERTIFIED SOLUTION
Avatar of Joshua Grantom
Joshua Grantom
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?
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.