This bug had nothing to do with the actual file upload, or, to be honest, the developers. In a recent (i.e. since the application was developed and handed over to us) security update Microsoft put a pretty low limit on the number max number of keys in a http collection and the app is blowing that maximum.
The fix is pretty simple when you know how. Add this key into the web.config's <appSettings>. I chose the value of 15,000 to give myself plenty of room.
<add key="aspnet:MaxHttpCollectionKeys" value="15000" />
The downside of this large collection is the huge amount of data being returned to the user's web browser (>1Mb) as previously mentioned. It's causing the app to appear to be incredibly slow when in fact its the data transfer and rendering of the page that cause the sluggish UI.
This fixes Outstanding Issue 2
No comments:
Post a Comment