Sunday, 15 June 2014

asp classic - ASP "Operation not Allowed" error occured while eecute Request.Form method -


I have run the following script to increase the file size for upload e: \ inetpub \ adminscripts cscript adsutil.vbs set w3svc / ASPMaxRequestEntityAllowed size

After running the command. I am getting this error ...

Request Object Error 'ASP 0104: 80004005'

The operation is not allowed

P>

/ ewqms370 /common/indexintermediate.asp, line 63

... for this code here:

change strUserName = (Request.Form ("txtUserName")

What value did you get from AspMaxRequestEntityAllowed property? Remember that it should be specified in byte so that you want to double check it. Why would it possibly be appropriate to open your metabase file? To ensure that your script has been updated accordingly. On IIS6 you can open metabase.xml which is located in c: \ Windows \ System32 \ Inetsrv, double-check it to "AspMaxRequestEntityAllowed" Find the line.

Specifies the maximum number of bytes allowed in the AspMaxRequestEntityAllowed entity entity if a content-length header is present in the ASP request and specifies the amount of data over the value of AspMaxRequestEntityAllowed IIS returns an error response, it is related to property function MaxRequestEntityAllowed, but ASP is specific to the request.

Official Documents in MSDN:


No comments:

Post a Comment