Tengo inconveniente que necesito importar un archivo que pesa 20kb, sin embargo, cuando lo intento cargar me lanza un mensaje que dice "El tamaño máximo del archivo debe ser: 2 GB".

El archivo pues no sobrepasa ese tamaño pues el parámetro FileUploadPesoMaximoKilobytes esta configurado con los 2GB

Con respecto al archivo C:\ASEINFO\Evolution Components 1.19.1.0\wwwEvolution\AppSettings.config el key StorageProviderName esta configurado como FileSystemStorage

Que podría estar generando este mensaje?

asked 04 Jun '20, 16:03

Josue%20Mancilla's gravatar image

Josue Mancilla
(suspended)
accept rate: 42%

edited 26 Sep '22, 16:56

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635


El tamaño de archivo por defecto es de 4MB. Para aumentarlo, se debe de modificar el archivo web.config en esta linea, agregando maxRequestLength y maxAllowedContentLength en las respectivas secciones:

<configuration>
    <system.web>
        <httpRuntime maxRequestLength="1048576" />
    </system.web>
</configuration>

 <system.webServer>
   <security>
      <requestFiltering>
         <requestLimits maxAllowedContentLength="1073741824" />
      </requestFiltering>
   </security>
 </system.webServer>

Nota: maxAllowedContentLength se mide en bytes mientras que maxRequestLength se mide en kilobytes. (Ambos equivalen a 1 GB.)

Tambien revisa el AppSettings.config del website porque ahi tambien se ocupa StorageProviderName

link

answered 04 Jun '20, 16:30

sbarahona's gravatar image

sbarahona ♦♦
(suspended)
accept rate: 32%

edited 26 Sep '22, 16:54

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635

Fijate que ya configuré lo que indicas y reinicie pool, IIS y sigue igual. Me sigue mostrando que no puedo subir un archivo mayor a 2 GB cuando solamente tiene 20 KB el archivo

(05 Jun '20, 10:57) Josue Mancilla Josue%20Mancilla's gravatar image

¿Alguna noticia sobre este inconveniente? También tengo este problema al actualizar a la 1.19.1.11 de Oracle.

(26 Sep '22, 10:01) Erick Túchez Erick%20T%C3%BAchez's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×22
×9

Asked: 04 Jun '20, 16:03

Seen: 423 times

Last updated: 26 Sep '22, 16:56

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática