"Customized cultures cannot be passed by LCID" exception when navigating to forum thread

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.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
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.
This thread is closed to new posts. You must sign in to post in the forums.
7/27/2009 10:54:51 AM
Gravatar
Total Posts 3

"Customized cultures cannot be passed by LCID" exception when navigating to forum thread

 Hello, 

I've downloaded the latest mojoPortal 2.3.1.0 and installed locally, on Windows XP, SP 2, IIS 5.1, installes in a virtual folder, SQL Express 2005. When a create a thread I get the error below. My windows configured for English(Unites States) for Standards and Location in Regional settings, has Russian keyboard layout active and Russian selected for "Non-unicode pages".

Server Error in '/mojo' Application.

Customized cultures cannot be passed by LCID, only by name.

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.ArgumentException: Customized cultures cannot be passed by LCID, only by name.

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:


[ArgumentException: Customized cultures cannot be passed by LCID, only by name.]
System.Globalization.RegionInfo..ctor(Int32 culture) +2308479
mojoPortal.Web.Framework.CurrencyHelper..cctor() +120

[TypeInitializationException: The type initializer for 'mojoPortal.Web.Framework.CurrencyHelper' threw an exception.]
mojoPortal.Web.Framework.CurrencyHelper.CultureInfoFromCurrencyISO(String isoCode) +0
mojoPortal.Web.Framework.ResourceHelper.GetCurrencyCulture(String currencyISOCode) +40
mojoPortal.Web.ForumUI.ForumThreadView.LoadParams() +178
mojoPortal.Web.ForumUI.ForumThreadView.Page_Load(Object sender, EventArgs e) +138
System.Web.UI.Control.OnLoad(EventArgs e) +99
mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +12
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

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

7/27/2009 11:38:36 AM
Gravatar
Total Posts 18439

Re: "Customized cultures cannot be passed by LCID" exception when navigating to forum thread

Hi,

I will add a try catch around that code for the next release. Have not seen this error before.

Thanks,

Joe

You must sign in to post in the forums. This thread is closed to new posts.