ARR Server and Web Server IIS are not the same will cause problems in some websites. However, ensuring your configuration settings are identical will provide your guest with a working web server experience.
Issue Details
ASP.NET cannot upload more than 25mb and will receive the error 404 - File or directory not found when IIS is not correctly set up across all ARR Servers and Web Servers.
Uploading Media files Bit rate 320kbps File sizes range from 6 MB to 30 MB each.
If I upload multiple files totaling 23-25mb, everything is OK. I tested a single 28MB file and uploaded it without issue. I receive the following error when uploading multiple files totaling over 25MB.
Server Error 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
When I upload files, I can watch the folder and see the files arrive and move to their proper location after database insertion. So it works as it should until I upload multiple files totaling over 25MB.
Recreate Issue
The ASP.NET upload used to work with the original Server configuration. However, with the new ARR Server Core setup, as documented above, it stopped working. After checking in IIS, I found the issue.
In IIS
Click on the Server Name [ServerName (DomainName\ServerUser)]
In the Center, under IIS, Double-click on [Request Filtering]
[Request Limits] Maximum allowed content length (Bytes)
Application Request Routing and IIS Web Servers Settings When setting up IIS on the Main Server, make sure your Web Servers and ARR Servers have identical Request Filtering Settings. If the ARR Servers differ from the Web Servers, you will experience this issue.
In IIS
Click on the Server Name [ServerName (DomainName\ServerUser)]
In the Center, under IIS, Double-click on [Request Filtering]
On the Left Panel, click on [Edit Feature Settings]
Make sure all settings in this location match those in IIS on the Web Server.