I'm on a v4.8.0 and getting a strange server error when trying to upload a new image through the "Insert/Edit image"-function in a richtext editor.
The following server error occours:
Server Error in '/' Application.
StartIndex cannot be less than zero. Parameter name: startIndex
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.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex
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:
[ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex]
System.String.Remove(Int32 startIndex, Int32 count) +6571909
umbraco.controls.Images.UploadMediaImage.SubmitButton_Click(Object sender, EventArgs e) +802
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Have anyone else seen this error or knows why it occours, or how to fix it?
I just tried uploading both .png and .jpg images using the insert dialog in the RTE on 4.8.1 and had no issues.
Could you provide a bit information about the image you're trying to upload? Does it contain some weird characters? Is it 300 DPI, CMYK or some other weirdness? If not maybe the solution is to upgrade to 4.8.1?
Server error when uploading an image through RTE
Hi there folks
I'm on a v4.8.0 and getting a strange server error when trying to upload a new image through the "Insert/Edit image"-function in a richtext editor.
The following server error occours:
Server Error in '/' Application.
StartIndex cannot be less than zero.
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.Parameter name: startIndex
Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Have anyone else seen this error or knows why it occours, or how to fix it?
Thanks in advance :)
/Kim A
Hi Kim
I just tried uploading both .png and .jpg images using the insert dialog in the RTE on 4.8.1 and had no issues.
Could you provide a bit information about the image you're trying to upload? Does it contain some weird characters? Is it 300 DPI, CMYK or some other weirdness? If not maybe the solution is to upgrade to 4.8.1?
Cheers,
Jan
Thanks for your answer Jan.
Nope, there's no weird stuff going on with the images that I tried uploading. It's plain and best practice web images just as we like them.
Anyone else able to reproduce this problem on a 4.8.0?
/Kim A
I'm seeing this on 4.8.0 when trying to upload through the media library, however on another computer, same browser, i don't get the error.
is working on a reply...