?
Solved

Cannot increase file attachment size limit in OWA 2010

Posted on 2012-09-13
10
Medium Priority
?
3,345 Views
Last Modified: 2012-09-24
I have recently migrated to Exchange 2010
I have increased my allowed file attachment size by changing :
TransportConfig MaxSendSize and MaxReceiveSize to 1Gb
and increasing the mailbox send and receive limits for various users.
This is fine when using Outlook.  We can attach and send large files now.

My problem is with Outlook Web App.

Originally I was seeing this message when attaching a large(ish) file (in this case 30Mb) in OWA



I then increase my file size that OWA can handle as according to this article:
http://technet.microsoft.com/en-us/library/aa996835.aspx

So I change:
<httpRuntime maxRequestLength="35000" />
to
<httpRuntime maxRequestLength="50000" />
and
<requestLimits maxAllowedContentLength="35000000" />
to
<requestLimits maxAllowedContentLength="50000000" />

Now when I try to attach a file in OWA I get this error:

Error after modifying web.config
I can't attach the 30 Mb file still.   If I put the web config back to its original defaults and restart my OWA session I get back to the original error with the 25Mb stated.  Any deviation from the original values shows message 2 (that doesn't state a file size).  
Basically I  am unable to modify this setting it seems.

Has anyone seen this before or have a solution to this ?

Regards
Graeme May
Touch-Base Ltd
0
Comment
Question by:touch-base
  • 5
  • 3
  • 2
10 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38394524
The default attachment size limit for a single attachment is 10 MB. To change this value for the organization, you can change the Maximum receive size (KB) and Maximum send size (KB) settings. After you change one or more these settings, you must restart the Exchange Information Store service for the changes to take effect.

Did you restart the Service as said in the Article ?
How many E2k10 servers do you have and configs ?

- Rancy
0
 
LVL 1

Author Comment

by:touch-base
ID: 38394636
The default attachment size has been changed already.  This is working fine when using Outlook as a client.  I believe the OWA settings are a separate restriction to do with ASP.net.
But - yes I have restarted the whole server after making all these changes.  I don't think you need to restart the Info Store for the changes to the web.config.

There is just one exchange 2010 server running all roles.  There is still an Exchange 2003 server in place also.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38394660
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:touch-base
ID: 38394847
If I log in to the old server webmail it forwards me to the new server and new OWA as expected.
The link to the expert-exchange article above doesn't tell me anything new and has a link to the same article I have used above.

Just wondered has anyone changed these values successfully ?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 38395007
You are using notepad to change the file?
IIS gets really sensitve over the formatting - if you put the wrong type of quotes in for example, then it breaks.

The Technet article is correct, and I have made the change using it successfully. It is NOT something I recommend though, because most remote sites will reject the email.

Simon.
0
 
LVL 1

Author Comment

by:touch-base
ID: 38395724
Hello Simon
Thanks for joining in.  I've been using textpad to make my changes.  I've tried notepad too.

Interesting thing is I've now noticed.  The second message occurs when I've increased the figures enough to allow the file I'm attaching.  This is infact a different message coming from  elsewhere perhaps

Also I've now got the attachment to upload using a work around described below:

Let me explain.  I increased the values in 4000 and 4000000 increments and continued to get the message with a size stated.

<requestLimits maxAllowedContentLength="35000000" />
<httpRuntime maxRequestLength="35000" />

gives error:  (I believe the difference is down to MIME type padding I've read)

set to 35000
<requestLimits maxAllowedContentLength="39000000" />
<httpRuntime maxRequestLength="39000" />

gives error:

39000
Then I get to a value high enough to accept the 30Mb attachment

<requestLimits maxAllowedContentLength="43000000" />
<httpRuntime maxRequestLength="43000" />

but still get an error as follows: (So it seems this error is coming from a different configuration parameter perhaps?)

43000
This is the weird bit.  If I then Close that error and then click the attach paper clip again - I get a different intermediate attachment page dialogue that I didn't get the first time:

attachment intermediate page
Now I click choose file - browse to the file then click attach - and my 30 Mb file uploads successfully and attaches to the new email !

So in summary - I have a work around to the problem.
First time you click paperclip - I get straight into file browser dialogue.
Choose big file - get error - click close.
Click paperclip again - I now get intermediate attachment page
Launch file browser dialogue - choose big file - click attach
Success.

Simon
Whats going on here?
Does your OWA behave in this way? What do you get when you click paperclip ?

PS I've tried this in Chrome and IE.  exactly the same behaviour.
error1.jpg
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 750 total points
ID: 38396003
If you want to accept 30mb attachments, then you will need to set the limits to at least 35, probably higher. It depends on what the attachment is.
Also remember to run IISRESET after making the change.

Have you adjusted everything inside Exchange to allow for the higher limit?

Simon.
0
 
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 750 total points
ID: 38396139
You Transport details i guess is set to 1GB ..... but if you will be sending externally then make sure appropriate changes are made on the Send connectors

- Rancy
0
 
LVL 1

Accepted Solution

by:
touch-base earned 0 total points
ID: 38409923
Yes - everything inside the Exchange is set to 1Gb - Transport, Send and Receive connectors and mailbox size.  

I've found as far as OWA is concerned I can only get the request limit and http runtime values up to about 600 000000 and 600 000 respectively which gives rise to allowing an attachment of nearly 500mb.  Trying to go beyond this point I get errors thrown with negative values in them so I think that goes beyond the parameters limit here.

So the mystery is the error I get when I click the attach paper clip that then goes away on the second attempt.  We are going  to live with that here.
0
 
LVL 1

Author Closing Comment

by:touch-base
ID: 38427980
Closing this but not solved.  Thanks for you guys' input
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

749 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