Jump to content
Fórum Script Brasil
  • 0

Como habilito o upload de arquivos grandes no ASP clássico no IIS?


Question

Tenho um sistema de upload em ASP Clássico. Consigo fazer upload de até 200KB sem problemas, mas quanto tento um tamanho maior ocorre o erro:

Request object error 'ASP 0104 : 80004005'

Operation not Allowed

/admin/freeaspupload.asp, line 101

 

Vi que preciso ajustar o arquivo web.config no servidor de hospedagem (godaddy), então coloquei da forma abaixo, mas mesmo assim o erro continua.

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

<system.web>

<customErrors mode="Off"/>  

<httpRuntime maxRequestLength="2147483647"/>

<sessionState timeout="1600"  />

</system.web>

  

<system.webServer>

                <httpRedirect enabled="false" destination="" exactDestination="true" httpResponseStatus="Permanent" />

                <httpErrors errorMode="Detailed">

<remove statusCode="403" subStatusCode="-1" />

<remove statusCode="404" subStatusCode="-1" />

</httpErrors>

                <security>

<requestFiltering>

                               <requestLimits maxAllowedContentLength="2147483647"/>

</requestFiltering>

</security>

</system.webServer>

</configuration>

 

Alguém para me ajudar por favor?

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      149279
    • Total Posts
      645643
×
×
  • Create New...