Foros del Web » Programando para Internet » ASP Clásico »

XelUpload - Operation not Allowed

Estas en el tema de XelUpload - Operation not Allowed en el foro de ASP Clásico en Foros del Web. 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, ...
  #1 (permalink)  
Antiguo 05/05/2005, 08:39
Avatar de PMP
PMP
 
Fecha de Ingreso: febrero-2003
Ubicación: Chacabuco - Buenos Aires
Mensajes: 214
Antigüedad: 21 años, 3 meses
Puntos: 1
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.
  #2 (permalink)  
Antiguo 05/05/2005, 08:54
Avatar de Muzztein  
Fecha de Ingreso: agosto-2002
Ubicación: Hangar 18
Mensajes: 1.703
Antigüedad: 21 años, 9 meses
Puntos: 16
y si comentas la linea, te sube el archivo????


alomejor Request.BinaryRead(Request.TotalBytes) tiene un tope.
  #3 (permalink)  
Antiguo 05/05/2005, 11:19
Avatar de PMP
PMP
 
Fecha de Ingreso: febrero-2003
Ubicación: Chacabuco - Buenos Aires
Mensajes: 214
Antigüedad: 21 años, 3 meses
Puntos: 1
La comento y no genera error, pero no sube nada.

Gracias por tu interes.
  #4 (permalink)  
Antiguo 05/05/2005, 13:57
Avatar de Gspr  
Fecha de Ingreso: abril-2005
Ubicación: Colombia
Mensajes: 27
Antigüedad: 19 años, 2 meses
Puntos: 0
Restriccion del IIS

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

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".
__________________
:pensando: Quien lo vive es quien lo goza :cool:
  #5 (permalink)  
Antiguo 06/05/2005, 06:21
Avatar de PMP
PMP
 
Fecha de Ingreso: febrero-2003
Ubicación: Chacabuco - Buenos Aires
Mensajes: 214
Antigüedad: 21 años, 3 meses
Puntos: 1
Gracias Gspr, esa es la solución.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:20.