skip to Main Content

I have a web and use IIS to setup

when I upload a pdf file which is over 100kb
there is two situations

1. On the IIS local PC
the action will success like this and the file is placed in the temp folder
enter image description here

2. On other PC
the action will fail and show nothing choose like this and the file is not placed in the temp folder
enter image description here

I have tried some solutions

  1. set maxAllowedContentLength in web.config
  2. set maxRequestEntityAllowed in web.config
    enter link description here
  3. set Maximum Request Entity Body Limit in IIS => ASP
  4. Set Load User Profile = False
    source : enter link description here

Plz someone help me to solve this problem
sorry for my bad English 🙁

2

Answers


  1. Chosen as BEST ANSWER

    The solution is changing IIS website port to 80 port


  2. Use the following code.

    <httpRuntime maxRequestLength="51200" executionTimeout="300"/>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search