When it happend; I was creating a new document type. I opened other document types earlier today without any problems. Between that I have been working with XSLT files and content files. No funny business with the server, database or config files.
I´ve noticed that the same error occurs when I try to open a media type.
Are you the only developer working on the site? And how about the content editing? Are there other content editors? If so has there been added any content today while you were working on other stuff? And could that content perhaps contain some weird characters, which could be the reason for this?
No one, but me, have been working with site prior to the error.
I tried to clear the TEMP folder. It didn´t make any difference.
I really don´t know what to look for in the log files. Found a lot of "ERROR umbraco.editorControls.tinyMCE3.TinyMCE - [Thread 11] Error adding stylesheet to tinymce Id:1049". Probably unrelated.
I remembered another thing I did before it went downhill: I uploaded an icon to the umbraco/images/umbraco/ folder.
I added an icon to the umbraco/images/umbraco/ folder prior to the first occurance of the error. For the first time ever, probably, I named the file using a special swedish character (ä). This caused the error.
Glad to see you managed to figured it out and thanks for sharing the solution so others can benefit.
Would you mind filing a bug report about this issue? I think it's something that should be handled so people don't get ugly error messages like that - at least a warning saying that such carachters are not allowed. Feel free to report the issue at the issue tracker here http://issues.umbraco.org/issues
I've just experienced the same error trying to import images from my old CMS.
I think that the problem arose because in my custom media type, which has both an English title field and a Welsh Title field, the English title was missing (even though it wasn't compulsory).
The mediaservice save(newImage) function fell over.
I bypassed these images and it seems to work now again.
Cannot open Document Type
Hi all,
All of a sudden: I cannot open any document types. I get an error message:
Length cannot be less than zero.
Parameter name: length
I can create new ones; at least the name.
I didn´t do any other changes to the system. Any thoughts?
Hi Daniel
What exact version of Umbraco are you using? And what changes were you making when this started to happen?
Looking forward to hearing from you.
/Jan
I´m using Umbraco 6.2.2 with MS SQL Server
When it happend; I was creating a new document type. I opened other document types earlier today without any problems. Between that I have been working with XSLT files and content files. No funny business with the server, database or config files.
I´ve noticed that the same error occurs when I try to open a media type.
Hi Daniel
Are you the only developer working on the site? And how about the content editing? Are there other content editors? If so has there been added any content today while you were working on other stuff? And could that content perhaps contain some weird characters, which could be the reason for this?
2 years ago some of the other guys saw this issue in Umbraco 4.7.2 but it seemed to be content related http://our.umbraco.org/forum/using/ui-questions/27451-Length-cannot-be-less-than-zero-Parameter-name-length
A long shot could be to empty the the /app_data/TEMP folder to see if it helps?
Also have you had a look in the /app_data/logs file to see if it reveals further information?
/Jan
No one, but me, have been working with site prior to the error.
I tried to clear the TEMP folder. It didn´t make any difference.
I really don´t know what to look for in the log files. Found a lot of "ERROR umbraco.editorControls.tinyMCE3.TinyMCE - [Thread 11] Error adding stylesheet to tinymce Id:1049". Probably unrelated.
I remembered another thing I did before it went downhill: I uploaded an icon to the umbraco/images/umbraco/ folder.
I solved it.
I added an icon to the umbraco/images/umbraco/ folder prior to the first occurance of the error. For the first time ever, probably, I named the file using a special swedish character (ä). This caused the error.
Hi Daniel
Glad to see you managed to figured it out and thanks for sharing the solution so others can benefit.
Would you mind filing a bug report about this issue? I think it's something that should be handled so people don't get ugly error messages like that - at least a warning saying that such carachters are not allowed. Feel free to report the issue at the issue tracker here http://issues.umbraco.org/issues
Cheers, Jan
Done: http://issues.umbraco.org/issue/U4-5686
I've just experienced the same error trying to import images from my old CMS.
I think that the problem arose because in my custom media type, which has both an English title field and a Welsh Title field, the English title was missing (even though it wasn't compulsory).
The mediaservice save(newImage) function fell over.
I bypassed these images and it seems to work now again.
is working on a reply...