Critical error: Culture 'nl' is a neutral culture

Sep 3, 2009 at 7:17 PM
Edited Sep 3, 2009 at 7:18 PM

I am getting the following error when I go to the checkout page/module in version 1.07b7

Peter

Culture 'nl' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.

AssemblyVersion: 04.09.01
PortalID: 12
PortalName: local 491 wi2
UserID: -1
UserName:
ActiveTabID: 410
ActiveTabName: Check out
RawURL: /dnn491/Default.aspx?tabid=410
AbsoluteURL: /dnn491/Default.aspx
AbsoluteURLReferrer: http://localhost/dnn491/NBStore/tabid/408/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e2d47aae-8475-4269-b501-353affc04b1d
InnerException: Culture 'nl' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.CultureInfo.CheckNeutral
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Culture 'nl' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture. ---> System.NotSupportedException: Culture 'nl' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture. at System.Globalization.CultureInfo.CheckNeutral(CultureInfo culture) at System.Globalization.CultureInfo.get_NumberFormat() at System.Globalization.NumberFormatInfo.GetInstance(IFormatProvider formatProvider) at System.Double.ToString(String format, IFormatProvider provider) at NEvoWeb.Modules.NB_Store.SharedFunctions.FormatToStoreCurrency(Int32 PortalID, Double Value) at NEvoWeb.Modules.NB_Store.CartList.dgCartList_ItemDataBound(Object sender, DataGridItemEventArgs e) at System.Web.UI.WebControls.DataGrid.OnItemDataBound(DataGridItemEventArgs e) at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at NEvoWeb.Modules.NB_Store.CartList.PopluateCartList() at NEvoWeb.Modules.NB_Store.CartList.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:

Coordinator
Sep 4, 2009 at 8:16 AM

Hi Peter,

Yes this bug happens when you remove/rename the "default" merchant.culture.

I've fix it in v1.1.7 Beta8 which is now on codeplex,