Improved Media Picker Error? Input string was not in a correct format
Just wondering if anyone has seen this error before? Using Tim's improved media picker, and if I try to insert a new image into the RTE directly from the pop up (As in clicking on the create new tab, selecting the file etc..) as soon as I click save the file is uploaded and saved but then I get presented with the following screen?
Server Error in '/' Application.
Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.
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.
I have seen this error (though in a non-Umbraco context), where the problem was in fact that the function receiving the string in question was Culture-dependant, and therefore expected a string like this "1,000,000.00" but got "1.000.000,00" (i.e., english/american vs. danish number formats)...
Don't know if that could shed some light on the origin of this error, though...
Thats interesting, I did change the language - But from English United States > English United Kingdom! I'll switch it back and see if it sorts it later on :)
The noerd uploader is fantastic but unfortunately has several unresolved issues. We have a "fixed" version in-house, but are reluctant to release it here for obvious reasons. We did pass the source of the fixed version back to Noerd however, so hopefully when they get a chance to update it these issues will disappear. They appear to be very busy, which can only be a good thing!
Improved Media Picker Error? Input string was not in a correct format
Just wondering if anyone has seen this error before? Using Tim's improved media picker, and if I try to insert a new image into the RTE directly from the pop up (As in clicking on the create new tab, selecting the file etc..) as soon as I click save the file is uploaded and saved but then I get presented with the following screen?
Server Error in '/' Application.
Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.
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:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
However the file has uploaded fine, if I close the pop up and re-open I can select it in the normal way?
I have seen this error (though in a non-Umbraco context), where the problem was in fact that the function receiving the string in question was Culture-dependant, and therefore expected a string like this "1,000,000.00" but got "1.000.000,00" (i.e., english/american vs. danish number formats)...
Don't know if that could shed some light on the origin of this error, though...
/Chriztian
Thats interesting, I did change the language - But from English United States > English United Kingdom! I'll switch it back and see if it sorts it later on :)
Do you have the multiple file uploader installed? This may be causing problems -> http://our.umbraco.org/forum/using/ui-questions/5070-Uploading-images-in-RTE-throw-error
Ahhhhhh yes I do... I'll have a look at your resolution in the other thread and see if it works for me too :)
Dan you are a legend :) ... Top find and fix fella...
Here is Dans fix if anyone else see's this thread
Try this, maybe after backing up your db
Good luck!
Dan
Glad you got it sorted!
The noerd uploader is fantastic but unfortunately has several unresolved issues. We have a "fixed" version in-house, but are reluctant to release it here for obvious reasons. We did pass the source of the fixed version back to Noerd however, so hopefully when they get a chance to update it these issues will disappear. They appear to be very busy, which can only be a good thing!
Brilliant Dan, that fix did the trick for me too.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.