This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I get this error when running on the following hosted environment:
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:
[FormatException: Input string was not in a correct format.] System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) +9362001 System.String.Format(IFormatProvider provider, String format, Object[] args) +107 mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateControls() +209 mojoPortal.Web.AdminUI.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) +121 System.Web.UI.Control.OnLoad(EventArgs e) +91 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +12 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 When running the same code on my Windows 7 development machine, I get no error. The code is identical.
What to do?
After more indepth analysis I can now conclude that this exception occurs if my browser language preference is set to use faroese language as default browser language. (tested on IE, Chrome and Firefox). Changing the language code to English US, solves this error. It would be fair to say that this qualifies to be a bug (Although not many users are affected). To reproduce this (google chrome).
Hi,
I tracked this down to an error in the Resource.fo.resx file for the key FeatureSettingsTabFormat it has the value Uppsetan av [0}
it needs to be Uppsetan av {0}
I will fix it.
Best,
Joe
Thanx!