已答复 increase max upload file size limit

  • Thursday, April 26, 2012 10:30 AM
     
     

    hi i use crm 2011 and when i try to upload xml file it gives an error.

    import file size is too large

    xml file size is 9 mb so it is bigger than standard crm size 8 mb

    how can i solve this problem


    Software Specialist Crm

All Replies

  • Thursday, April 26, 2012 10:43 AM
     
     
  • Thursday, April 26, 2012 10:43 AM
     
      Has Code

    Lets See if it can be set in the same way as before.

    There is not max limit specified as such however in config file by default is 32 MB. However you can increase it by change the value in config.

     

    Refer this blog to import the file of size more than 32 MB

    http://billoncrmtech.blogspot.com/2008/07/data-import-wizard-will-not-upload.html

     

    Config file

    Default file Location
    C:\Program Files\Microsoft Dynamics CRM Data Migration Manager\DMClient\res\web

    file web.config

    Default data in the file


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <httpRuntime executionTimeout="1200" maxRequestLength="32768 "/>
    <compilation defaultLanguage="C#" debug="false">
    <assemblies>
    <add assembly="Microsoft.Crm, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.SdkTypeProxy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.Platform.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </assemblies>
    </compilation>
    <authentication mode="Windows" />
    <identity impersonate="true" />

    </system.web>
    </configuration>


    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
    Mubasher Sharif
    Check out my about.me profile!
    http://mubashersharif.blogspot.com
    Linked-In Profile
    Follow me on Twitter!

  • Thursday, April 26, 2012 10:48 AM
     
     
    You change the upload size by changing "Attachment" size in "Settings-> Administration->System Settings->Email" .
  • Thursday, April 26, 2012 10:59 AM
    Moderator
     
     
    My suggestion will be to divide your file into two files and them import it one by one, without any issue.

    Mahain : Check My Blog
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • Thursday, April 26, 2012 11:03 AM
     
     
    You change the upload size by changing "Attachment" size in "Settings-> Administration->System Settings->Email" .

    it doesnt work

    Software Specialist Crm

  • Thursday, April 26, 2012 11:04 AM
     
      Has Code

    Lets See if it can be set in the same way as before.

    There is not max limit specified as such however in config file by default is 32 MB. However you can increase it by change the value in config.

     

    Refer this blog to import the file of size more than 32 MB

    http://billoncrmtech.blogspot.com/2008/07/data-import-wizard-will-not-upload.html

     

    Config file

    Default file Location
    C:\Program Files\Microsoft Dynamics CRM Data Migration Manager\DMClient\res\web

    file web.config

    Default data in the file


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.web>
    <httpRuntime executionTimeout="1200" maxRequestLength="32768 "/>
    <compilation defaultLanguage="C#" debug="false">
    <assemblies>
    <add assembly="Microsoft.Crm, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.SdkTypeProxy, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="Microsoft.Crm.Platform.Sdk, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </assemblies>
    </compilation>
    <authentication mode="Windows" />
    <identity impersonate="true" />

    </system.web>
    </configuration>


    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
    Mubasher Sharif
    Check out my about.me profile!
    http://mubashersharif.blogspot.com
    Linked-In Profile
    Follow me on Twitter!

    there is no

    <httpRuntime executionTimeout="1200" maxRequestLength="32768

    in webconfig file


    Software Specialist Crm

  • Friday, April 27, 2012 7:12 AM
     
     

    any idea?


    Software Specialist Crm

  • Friday, May 04, 2012 9:28 AM
     
     Answered

    i have found a solution

    http://www.ahmetcankaya.com/increase-upload-file-size-in-crm-2011/


    Software Specialist Crm

    • Marked As Answer by devcrm Friday, May 04, 2012 9:28 AM
    •