Jump to content


Photo

Erro No Request Binario


  • Faça o login para participar
3 replies to this topic

#1 Worm

Worm

    Veterano

  • Ex-Admins
  • 1343 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP
  • Interesses:Obter o maximo conhecimento.

Posted 15/09/2005, 18:03

Pessoal estou arrumando uns códigos de outros programadores ( que dor de cabeça ) e agora em deparo com esse

Request object error 'ASP 0104 : 80004005'

Operation not Allowed

/webadmin/produtos/upload_classe.asp, line 61


Linha 61

  RequestBin = Request.BinaryRead(iTotBytes)


Isso no host, baixei os arquivos e resolvi fazer os teste local, e funcionou perfeito.

O que é isso ? pq só no host da esse erro e local não ?

Até mais.

#2 luizj

luizj

    Normal

  • Usuários
  • 74 posts
  • Sexo:Masculino

Posted 15/09/2005, 19:11

existe a possibilidade de fazer isso pega o binario e mostrar o codigo dele no site em vez de mostrar o ascii dele?? , tambem to quebrando a cabeça nisso a meses. vlw :o

Compare preços online no Melhor Comprar


#3 Agente Linhares

Agente Linhares

    fuis...abraços!

  • Ex-Admins
  • 3138 posts
  • Sexo:Não informado
  • Localidade:Biritiba Mirim-SP

Posted 16/09/2005, 09:59

Pessoal estou arrumando uns códigos de outros programadores ( que dor de cabeça ) e agora em deparo com esse


Request object error 'ASP 0104 : 80004005'

Operation not Allowed

/webadmin/produtos/upload_classe.asp, line 61


Linha 61

  RequestBin = Request.BinaryRead(iTotBytes)


Isso no host, baixei os arquivos e resolvi fazer os teste local, e funcionou perfeito.

O que é isso ? pq só no host da esse erro e local não ?

Até mais.

nunca me deparei c/ esse problema, mas creio eu q possar ser algo relacionado a "ausencia do host"
principalmente se vc tiver usando um componente associado a estas linhas mostradas..tenta saber q server q vc usa na web e compara com o seu..nao sei se usa componenete isso, mas se sim, tenta ver versao, se tem msmo, etc..

mas desconheço isso.
> Busca On-line - A Busca que faltava na Internet! - Cadastre-se!
---------------------------------------------------------------------------
> BRdesign.NET - Soluções em Websites e Sistemas E-Commerce.
---------------------------------------------------------------------------
> BR-ecommerce - Sua loja virtual na internet! - Apenas R$99,90 mensais (hospedagem inclusa)!

#4 Tx.NET

Tx.NET

    || ||||||| ||| ||||||||

  • Banidos
  • PipPipPipPipPipPipPip
  • 619 posts
  • Sexo:Não informado

Posted 16/09/2005, 16:23

sua resposta:
1. http://www.aspplaygr...m_376095/tm.htm

Q3: My server is IIS 6, and I cannot upload more than 200KB at a time? If I upload more than 200KB of data, I got the following error:

quote:

Request object error 'ASP 0104 : 80004005'

Operation not Allowed

which happens at the line that calls the Request.BinaryRead method.

A3: The new metabase in IIS 6 has a restriction on the maximum file size ASP script can upload. Do the following to correct this issue (thanks to Ittech for the info)

quote:

Here's the code from the metabase.xml, which you can edit and it applies changes in realtime. Never restarted the forum/site :)

Gotta look under the header <IIsWebService Location ="/LM/W3SVC"

or for whatever service location site name you are using...

Change
AspMaxRequestEntityAllowed="204800"
to
AspMaxRequestEntityAllowed="10238976"


2. http://www.pd9soft.com/megabbs/forums/thread-view.asp?tid=3266&posts=16

...IIS6.0 prevent the upload of files more than +200Kb. So you need to make some changes in the default IIS settings first.

Background
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.

Solution
Open your metabase.XML which is located in c:\Windows\System32\Inetsrv find the line "AspMaxRequestEntityAllowed" and change it to "1073741824". This is 1GB - of course you can enter another value to suite your needs.

NOTE: Before you edit the file, be sure to stop the IIS service first or else you won't be able to save the file.


GOOGLE: http://www.google.co... Allowed &meta=

flws... (y)

Edição feita por: Tx.NET, 16/09/2005, 16:31.

> ls -la
-rwxr-xr-- 1 fmaynnard user 9666 nov 28 00:00 hell

> shutdown -h now




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq