Blue Orange
asked on
Cannot upload files above 1mb IIS7
On any website a run on a remote server I cannot upload files above 1 mb. All websites run on their own applicationpool and the permissions are set the right way. The error returned is CONNECTION RESET. Every upload stream below 1 mb gets accepted and works fine.
Ive also set the following configsettings to one of the websites manually to test if its a limitation:
But I cannot get it to work. Is there any global settings that prevents me from uploading above 1 mb?
Ive also set the following configsettings to one of the websites manually to test if its a limitation:
<requestFiltering>
<requestLimits maxUrl="32767" maxQueryString="32767"
maxAllowedContentLength="2147483648"/>
</requestFiltering>
and<httpRuntime maxRequestLength="2000000000" executionTimeout="999999" />
But I cannot get it to work. Is there any global settings that prevents me from uploading above 1 mb?
The link below is geared more to ASP.NET.
Link: https://blogs.msdn.microsoft.com/prashant_upadhyay/2011/07/12/large-file-upload-issue-in-asp-net/
Example config and code: https://blogs.msdn.microsoft.com/friis/2013/06/19/uploading-large-file-to-iis-7-5-or-8-using-file-input-element/
Dan
Link: https://blogs.msdn.microsoft.com/prashant_upadhyay/2011/07/12/large-file-upload-issue-in-asp-net/
Example config and code: https://blogs.msdn.microsoft.com/friis/2013/06/19/uploading-large-file-to-iis-7-5-or-8-using-file-input-element/
Dan
ASKER
@Dan McFadden:
I've changed the settings according the examples and restarted IIS but not sigar.
@Shaun:
Same goes as the reply to Dan, modified the settings but no effect. Even after a IIS restart.
Can this be a permission issue? Certain write limitions to a directory?
I've changed the settings according the examples and restarted IIS but not sigar.
@Shaun:
Same goes as the reply to Dan, modified the settings but no effect. Even after a IIS restart.
Can this be a permission issue? Certain write limitions to a directory?
- Are there any warnings or errors in the Application Event Log?
- Do you have http logging enabled?
--- Are there any 4xx or 5xx http errors in the logs?
- How is the application pool configured?
--- What identity is the AppPool set to use?
Dan
- Do you have http logging enabled?
--- Are there any 4xx or 5xx http errors in the logs?
- How is the application pool configured?
--- What identity is the AppPool set to use?
Dan
ASKER
@ Dan McFadden; Each AppPool has its own apppool name, which has permissions on the website folder (full write for debug) (IIS AppPool\APPPOOLID). I did end up looking at System32\Logfiles\Httperr logs which returned: (Website ID) Timer_EntityBody since C:\inetpub\logs\LogFiles\ returned no errors.
What are you using to upload files? Native MS object or a third party? Can you post code?
Also, have you tried enabling Failed Request Tracing to ID where the issue may be coming from?
Dan
Also, have you tried enabling Failed Request Tracing to ID where the issue may be coming from?
Dan
ASKER
@Dan McFadden; Native MS, I can follow the upload via Chrome (left corner, stops at 1 mb percentage of the total size (eg: 3 mb = 33% then the connection resets and gives me some). I think I didnt; let me check.
Edit : nope, nothing in FailedReq
Edit : nope, nothing in FailedReq
What version of .NET framework are you using? What language?
Can you post code?
Dan
Can you post code?
Dan
ASKER
@Dan McFadden: We are using .NET FW 4.5+ and C#. I could ask de devs to look into this if you suspect that there is something wrong with the code. Since multiple websites have this issue (many different setups, but all C# and FW4.5+) I dont think its the code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Dan McFadden; thanks so far, I have sent the project to the team dev to look at. The timeout is only active on our acceptance environment to test this issue. Ill report back my findings after a report from dev.
http://stackoverflow.com/q