mardi 26 janvier 2021

How do I enable upload of large files in Classic ASP on IIS?

I have an upload system in ASP Classic. I can upload up to 200KB without problems, but when I try a larger size the error occurs:

Request object error 'ASP 0104 : 80004005' Operation not Allowed /admin/freeaspupload.asp, line 101

I saw that I need to adjust the web.config file on the hosting server (godaddy), so I put it like this, but even then the error continues.

<?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>

Someone to help me please?




Aucun commentaire:

Enregistrer un commentaire