Bobcares

How to fix 507 insufficient storage error in Exchange server?

by | Aug 25, 2020

Restrictions in the configuration file can often cause errors during restorations. The 507 insufficient storage is one such error that triggers while restoring mails to the Exchange server.

As a part of our Server Management Services, we help our Customers to fix exchange server related errors regularly.

Let us today discuss the possible causes and fixes for this error.

What is causes 507 insufficient storage error in Exchange server?

The maximum message size limit or any other similar setting in the configuration file often causes issues with the restoration of mails to the Exchange server. For instance, a typical error message shown in the server log is as follows:

507 insufficient storage

The most common reasons for this error include:

1. Exceeding the maximum message size limit for restoration. This limit in the EWS web.config restricts the size of messages/attachments.

2. Maximum Allowed Content-Length setting (IIS Request Filtering rules) is not set to support large files.

 

How to fix 507 insufficient storage error in Exchange server?

Let us now look at the possible solutions to fix this error.

As the maximum message size limit can cause the error 507 insufficient storage error, we can increase it to fix the error. this can be done with the steps below:

1. First, On your Exchange server, navigate to %ExchangeInstallPath%ClientAccess\exchweb\ews\
2. Now, Edit the file web.config using Notepad
3. Then, Change the value of httpRuntime maxRequestLength to a higher value
4. Open a command prompt as an admin
5. Finally, Run IISRESET

CAS Servers

CAS servers have their own attachment size limits that restrict the size of messages/attachments that can be injected into Exchange mailboxes.

By default, CAS servers only accept email that has a combined attachment size of less than 64 MB and this limit would exceed easily during restorations. In reality, increasing the combined attachment limit is possible by modifying the Maximum Allowed Content Length value.

Further, to view the current value set on the CAS server, proceed as follows:

1. First, Open a command line on the CAS server (run as administrator)
2. Then, Browse to C:\Windows\System32\Inetsrv
3. Now, From the \Inetsrv directory, issue the following command: appcmd list config “Default Web Site/ews” -section:requestFiltering

Review the limit from IIS

Depending on the size of the attachments or messages to restore, the existing value may be increased to allow the injection of a larger file.

For this, first, we need to review the Request Limits configuration in Microsoft Internet Information Services (IIS) for Exchange Web Services (EWS) site.

1. First Click Start > Run and Type “inetmgr”
2. Then, Expand the IIS server > Sites > Default Web Site > EWS sections
3. Now, In the central pane, double click Request Filtering
4. In the Request Filtering Page, click the Edit Feature Settings from the Actions pane
5. Finally, Check that Maximum allowed content length is set to values that allow the transfer of the journal items via EWS.

Configuration adjustments via commandline

We can perform the adjustments in the configuration file from command lines well.

Firstly, to modify the configuration to allow injection of large attachments, run the following script on each CAS server (also from the \Inetsrv directory indicated above):

appcmd set config “Default Web Site/ews” -section:requestFiltering -requestLimits.maxAllowedContentLength:<content_Length_In_Bytes>

Next, while still in the same directory, run the following script to update the attachment limit on all mailbox servers:

appcmd set config “Exchange Back End/ews” -section:requestFiltering -requestLimits.maxAllowedContentLenght:<content_Length_In_Bytes>

Finally, Restart IIS to activate the configuration change by issuing the following command:

iisreset

[Need any further assistance in fixing Exchange server errors? – We’re available 24*7]

Conclusion

In short,  507 insufficient storage triggers during the restoration of mails in exchange server due to restrictions on the size of messages. Today, we saw how our Support Engineers fix this error.

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Speed issues driving customers away?
We’ve got your back!

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF