locked
maximum request length exceeded RRS feed

  • Question

  • Hi,

    i wrote a command line tool to deploy crm customizations. But when this tool executes the importallxmlrequest, i recieve a "maximum request length exceeded" error.
    I know how to solve this problem when uploading customizations manually (edit web.config) - but what should i do on the context of a command line tool?

    Thanks
    Jan
    Tuesday, February 9, 2010 2:17 PM

Answers

  • The maxRequestLength attribute applies to the web application receiving the request, not the client calling it, so it should make no difference whether you use the CRM web application or a command line tool.

    However, when you access the CRM web services directly, the maxRequestLength attribute that applies is under the <location path="MSCRMServices"> element in the CRM web.config. This differs from the maxRequestLength attribute directly under <configuration><system.web> that affects access via the CRM web application
    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk
    Wednesday, March 10, 2010 4:46 PM
    Moderator

All replies

  • Have you tried modifying the machine.config. As your initially limited to 4Mb you'lll have to change this and as you do not have a web.config I think this might work.
    Thursday, February 11, 2010 8:34 PM
    Moderator
  • The maxRequestLength attribute applies to the web application receiving the request, not the client calling it, so it should make no difference whether you use the CRM web application or a command line tool.

    However, when you access the CRM web services directly, the maxRequestLength attribute that applies is under the <location path="MSCRMServices"> element in the CRM web.config. This differs from the maxRequestLength attribute directly under <configuration><system.web> that affects access via the CRM web application
    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk
    Wednesday, March 10, 2010 4:46 PM
    Moderator