XMLPorts - Maximum Size

kennoxkennox Member Posts: 16
edited 2012-07-20 in NAV Three Tier
Greeting Nav Gurus,

I have created an XMLPort that uses variable text format (I want to import text files) but I keep getting an error "The file you are trying to use is too large".

This file is 18 MB in size. Is there a limit as to the size of file you can import using XMLPort, text variable format?

See error below.

Comments

  • ara3nara3n Member Posts: 9,256
    The service tier has a setting to limit the size of the file in CustomSettings.config
      <!--
          Limits the size of files that can be uploaded in order to avoid out of memory errors. This value is in megabytes.
      -->
      <add key="MaxUploadSize" value="5"/>
    


    Please change it to higher number.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kennoxkennox Member Posts: 16
    Thanks for your help
  • ara3nara3n Member Posts: 9,256
    You are welcome.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kennoxkennox Member Posts: 16
    I changed this value to 100 then restarted the Dynamics Server but I still get the same error.

    The biggest file I am trying to import is 24 MB.

    Any thoughts?
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    ara3n wrote:
    The service tier has a setting to limit the size of the file in CustomSettings.config
      <!--
          Limits the size of files that can be uploaded in order to avoid out of memory errors. This value is in megabytes.
      -->
      <add key="MaxUploadSize" value="5"/>
    

    And what about XMLPorts that create large files which are then downloaded using 3TierMgt.DownloadToFile? I don't see a MaxDownloadSize setting in the config file.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.