BugNET

Open source issue tracking & project management

Forums

HomeHomeSupportSupportGeneral SupportGeneral SupportAttachment panel wonAttachment panel won't load
Previous
 
Next
New Post
6/15/2010 12:03 PM
 
When I try to switch to the Attachments panel for an issue, I get the generic error...

Application Error - /bugnet/Issues/IssueDetail.aspx
An error has occured in processing your request.

Please try again.

The log view shows the following information with the error:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Convert.ToInt32(String value) at ASP.issues_usercontrols_attachments_ascx.__RenderpnlAddAttachment(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, Con


I have authentication set to None and it doesn't matter what user I am logged in with. If I am not logged and view a public issue page, I am able to view the panel but it obviously just says that there are no attachments. Do I perhaps have permissions set incorrectly somehow?


Edit-- I've figured out the answer to my problem. Apparently, one of the administrators changed the maximum file attachment size setting and entered the value with commas. The Panel was then unable to convert the string value to an integer. Updating the setting to remove the comma was all that was required. A good improvement to the system would be to validate that the setting is numeric at save time.
 
Previous
 
Next
HomeHomeSupportSupportGeneral SupportGeneral SupportAttachment panel wonAttachment panel won't load


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.