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
- set maxAllowedContentLength in web.config
- set maxRequestEntityAllowed in web.config
enter link description here - set Maximum Request Entity Body Limit in IIS => ASP
- 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
The solution is changing IIS website port to 80 port
Use the following code.