I tried to connect with Microsoft. They gave me one diagnostic utility which captured the internal logs of Exchange Server and uploaded it to the Microsoft servers which were then analysed by Microsoft team. In Exchange Server logs it was realized that there was MapiExceptionNamedPropsQuotaExceeded
, which occurs when there is an increase in the default quota what exchange supplies.
The precise exception was as follows:
Mapping 'An internal server error occurred.
The operation failed.' used for exception
'Microsoft.Exchange.Data.Storage.StoragePermanentException:
Cannot get ID from name. ---> Microsoft.Mapi.MapiExceptionNamedPropsQuotaExceeded:
MapiExceptionNamedPropsQuotaExceeded: Unable to get IDs from property names.
(hr=0x80040900, ec=-2147219200)
As a final solution I increased the named properties quota by modifying Windows registries to add dword at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\<Server Name>\<Database Type-GUID>
with name Named Props Quota
and setting its value to decimal 16K. This solved the issue.
Detailed steps can be found here.
More information about named properties can be found here.