Foros del Web

Foros del Web (http://www.forosdelweb.com/)
-   ASP Clásico (http://www.forosdelweb.com/f15/)
-   -   XelUpload - Operation not Allowed (http://www.forosdelweb.com/f15/xelupload-operation-not-allowed-295248/)

PMP 05/05/2005 08:39

XelUpload - Operation not Allowed
 
Hola a todos, estoy tratando de subir archivos al servidor utilizando XelUpload.
Funciona de maravillas hasta que intento subir un archivo de mas de 200K, me genera el siguiente error:


Request object error 'ASP 0104 : 80004005'

Operation not Allowed

D:\WEB\SITE\../_includes/xelupload.asp, line 60


La línea 60 es la siguiente:


byteDatos = Request.BinaryRead(Request.TotalBytes)


Por favor, si alguien ha experimentado el mismo error y lo ha solucionado, que comente como lo hizo.

Saludos y muchas gracias.

Muzztein 05/05/2005 08:54

y si comentas la linea, te sube el archivo????


alomejor Request.BinaryRead(Request.TotalBytes) tiene un tope.

PMP 05/05/2005 11:19

La comento y no genera error, pero no sube nada.

Gracias por tu interes.

Gspr 05/05/2005 13:57

Restriccion del IIS
 
Hola, no soy muy experto pero eso me ocurria con el aspSmartUpLoad y encontre esto, espero te sirva (en ingles, sorry :ojotes: )

1) FAQ: does aspSmartUpload work on Windows 2003 server ?

Yes, last versions of aspSmartUpload work fine on the Windows 2003 server.
If you upgrade your OS and used an old version of aspSmartUpload, you have to download and setup aspSmartUpload 3.2+.

IIS6.0 prevent the upload of files more than +200Kb.

For IIS6.0 users, the AspMaxRequestEntityAllowed property specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of AspMaxRequestEntityAllowed, IIS returns a 403 error response. This property is related in function to MaxRequestEntityAllowed, but is specific to ASP request. Whereas you might set the MaxRequestEntityAllowed property to 1 MB at the general World Wide Web Publishing Service (WWW Service) level, you may choose to set AspMaxRequestEntityAllowed to a lower value, if you know that your specific ASP applications handle a smaller amount of data.

Open your MetaBase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824".

This change does not require stopping IIS, but to make the Metabase.xml file write-able, you need to go to the IIS control panel, right click the server, select properties, and check off the box that says "allow changes to MetaBase configuration while IIS is running".

PMP 06/05/2005 06:21

Gracias Gspr, esa es la solución.


La zona horaria es GMT -6. Ahora son las 21:27.

Desarrollado por vBulletin® Versión 3.8.7
Derechos de Autor ©2000 - 2025, Jelsoft Enterprises Ltd.