2
 Followers
8
 Likes

For large espaces, increase default size maximum

Service Studio
On our radar
Every time I update Service Studio, I have to go into the "ServiceStudio.WS.bindings.config" file and replace the default maxbuffersize, maxbufferpoolsize, and maxreceivedmessagesize of 33554432 to a higher value that actually works.

I think we can all agree that the default of 33MB is pretty small by today's standard of technology.
  1. Please increase the default when deploying new versions of Service Studio to something useful.
  2. Additionally, a more friendly error message would also be useful for diagnosing this situation.
-Yes, if I click send report, then click view I can figure it out, but that's probably a bit much for more novice users, or someone who has never experienced this exact error before.



Also, including the actual body of part of the error report in case someone does a search, so they find this thread:

Communication error: There was an error contacting 'some-server.com' .
Operations Log:
    [8/24/2015 8:22:04 AM] [3] Notification        SS_Error|||0|0|0|2015-08-24T12:22:04.820
    [8/24/2015 8:22:04 AM] [3] Exception           OutSystems.Communication.Exceptions.CommunicationException: The maximum message size quota for incoming messages (33554432) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (33554432) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (33554432) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
   --- End of inner exception stack trace ---
 OSerror.png
Created on 24 Aug 2015
Comments (7)
depends what 33Mb is about.

a simple textfile.. i say it's large.
an espace, well, I never get above the 10Mb.
It's also about having a good architecture?

You set the MaxReceivedMessageSize property via the server config file, this should solve your problem.

Ah You already figured it out, the feature request is to increase the default MaxReceivedMessageSize :)
Hi Rober,

I have the same issue, could you please explain to me how can i increase the MaxReceviedMessageSize?

Thanks

Simone

I have the same situation here  with  every  update.

You can find a workaround here: https://www.outsystems.com/forums/discussion/13180/error-maximum-message-size/

TL;DR
c:\Program files\OutSystems\Development Environment 10.0\ServiceStudio.WS.bindings.config
Replace all occurrences of "33554432" with "2147483647"

33 MB is filled very fast if you use some animated gifs in your app. And the rest doesn't help to make stuff smaller

Not sure if the path changed recently, but the config file for me was located at:
C:\Program Files\OutSystems\Development Environment 10.0\Service Studio\ServiceStudio.WS.bindings.config

views
759
Followers
2