Friday, December 4, 2015

TDS error - maximum message size quota for incoming messages

While syncing media items for a project using Team Development for Sitecore in Visual Studio, I came across the following error:
Exception The maximum message size quota for incoming messages (16000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
 This error occurs when large content (file size) is being brought into the source control solution. The fix is to open the file located at: C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore\HedgehogDevelopment.SitecoreProject.VSIP.dll.config and then modify the maxBufferSize attribute.

This may also lead to the error:
Exception For TransferMode.Buffered, MaxReceivedMessageSize and MaxBufferSize must be the same value.
 So the maxReceivedMessageSize attribute also needs to be changed to match the value of the maxBufferSize attribute.

And finally when syncing the offending item (large file size), the following error will occur:
Exception The maximum array length quota (16000000) has been exceeded while reading XML data.


Which means that the maxArrayLength attribute also needs to match the other variables.

No comments:

Post a Comment