http://coldfusion.com logo
#cfml-general
Title
# cfml-general
i

Iyob Zenebe

05/07/2022, 3:21 PM
Hello, I am trying to upload a pdf file which is 60MB in size using cf file upload and I am getting 'The page was not displayed because the request entity is too large". I have updated the uploadReadAheadSize on IIS config file to higher value but I am still getting the error. Any suggestions?
s

sunnispoon

05/07/2022, 4:00 PM
IIS Ver? Did you restart the service?
i

Iyob Zenebe

05/07/2022, 4:04 PM
IIS 10. I just found the solution few minutes ago.. The Maximum size of post data on CF was set 20MB and increased it to 100MB and it worked. Will this change in some way create a security risk?
Yes I did restart IIS. Thank you
s

sunnispoon

05/07/2022, 4:09 PM
Size is more of a resource control/limit… anything POSTed should be handled as a security risk
đź‘Ť 1
i

Iyob Zenebe

05/07/2022, 4:10 PM
Thank you!