Error on Image Upload click

Last post 12-15-2008, 5:08 PM by Matt. 2 replies.
Sort Posts: Previous Next
  •  12-10-2008, 2:06 PM 46783

    Error on Image Upload click

    I receive the following error when I click on the Image Upload icon:  (Thoughts?)
     

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: String

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: String

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentNullException: Value cannot be null.
                Parameter name: String]
                System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10159945
                System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +207
                DotNetGallery.Include.imageupload2.b(Object A_0, EventArgs A_1) +513
                System.Web.UI.Control.OnLoad(EventArgs e) +132
                System.Web.UI.Control.LoadRecursive() +66
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
                


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

    Matt
  •  12-15-2008, 4:50 PM 46953 in reply to 46783

    Re: Error on Image Upload click

    Do you often this error or it just happens to a particular image?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-15-2008, 5:08 PM 46956 in reply to 46953

    Re: Error on Image Upload click

    Ironic that I just figured out the problem 2 minutes ago..  The issue was that the user had a "#" character in the file name for the image.    I am adding "cleaner" code to the image names so it won't happen again.
     
    Thanks for the reply Adam!

    Matt
View as RSS news feed in XML