Hi, I have discovered a major error, when changing localization to Danish, which presents a date in a different than standard DNN. The normal date format is MM/DD/YYYY and the Danish format is DD/MM/YYYY.
When changing to Danish language, the Module won´t load at all!
The Log indicates that the error is in the XML.vb file (for starter), where the compiler failed to convert a string to proper date time format.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.InvalidCastException: Conversion from string "6/30/2006" to type 'Date' is not valid. at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) at DotNetNuke.Modules.Gallery.GalleryXML.CreatedDate(String FileName) at DotNetNuke.Modules.Gallery.GalleryFolder.Populate() at DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder) at DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Container.Initialize() at DotNetNuke.Modules.Gallery.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)
This Error is quite annoying, because I have to choose, whether I should use Danish language, or whether to actually use the Gallery module.
Does anyone have an idea on how to solve these conversion problem, so that I might be able to get the module to work, at least until there is a official Bugfix for this problem???