Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Updating the binding settings in web.config file for maxReceivedMessageSize - Sandbox environment (no-VM access)

(0) ShareShare
ReportReport
Posted on by 71

Hello Community, 

While using one of the services in the Dynamics 365, we are getting the below error:

"The maximum message size quota for incoming messages (65536) has been exceeded."

I understand, we can update the bindings in the web.config file to update the maxReceivedMessageSize. However I am not able to grasp, how this will be achieved in a Sandbox environment in Dynamics 365, which is hosted in the cloud and we do not have access to the VM.

Can you please kindly advise on how it can be achieved.

Thanks, 

Ankit

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: Updating the binding settings in web.config file for maxReceivedMessageSize - Sandbox environment (no-VM access) Dynamics 365

    Hi Ankit,

    You can't change any environment related setting on a sandbox; even not by changing something on a development environment. Like Martin suggested, are you able to split into smaller files?

    You can also consider using Data management package REST API - Finance & Operations | Dynamics 365

  • AK2 Profile Picture
    AK2 71 on at
    RE: Updating the binding settings in web.config file for maxReceivedMessageSize - Sandbox environment (no-VM access) Dynamics 365

    Thanks Martin! we are using the soap service over http..

    I read something about onebox and powerplatform, which exposes some of the server config (web.config), but I have very little understanding of how it works and is it even possible?

    Do you think, it might be possible to update the web.config in a development environment and then have the build applied to a sandbox environment. I am not sure if the web.config is maintained after the build process..

    Your thoughts?

    Thanks,

    Ankit

  • Martin Dráb Profile Picture
    Martin Dráb 230,817 Most Valuable Professional on at
    RE: Updating the binding settings in web.config file for maxReceivedMessageSize - Sandbox environment (no-VM access) Dynamics 365

    You can't change the setup on server, as far as I know. You'll need to send smaller messages, or use a different service.

    Which type of service are you using?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans