Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > User friendly message whe...

User friendly message when the attachment size limit is reached? RSS Feed

Tuesday, March 1, 2011

We have set a limit to 5MB

<httpRuntime maxRequestLength="5120" requestValidationMode="2.0" executionTimeout="120" />

When we try to attach bigger files a not very useful error message is displayed

"The website can't be displayed / button text = "diagnosis of connection problems"

We would like to replace this by a user friendly message,

like "The size of the attachment is too big. The limit 5MB...."

Is this possible by adding a parameter in the web.config or by another method ???

1 Replies
Mike M.Mike M.
re: pascal hoffmann on Tuesday, March 1, 2011
Tuesday, March 1, 2011
Unfortunately, custom messages can't be put in at this time. The request-limit is handled outside of the application by IIS itself, and for us to override it, we woduld need to create IIS handlers to link in, and that would affect other files, pages, and sites handled by IIS as well, unfortunately.

We are looking into adding an uploader control, so that a progress of an upload can be shown, and when/if that is implemented, then the application can catch the size of uploads and display a message.

Tagged
Statistics
  • Started: 3/1/2011
  • Last Reply: 3/1/2011
  • Replies: 1
  • Views: 806
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.