Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsdate cast error in recurring eventsdate cast error in recurring events
Previous
 
Next
New Post
2/9/2007 9:08 AM
 
Hi,

We're having some issues with events here in Europe (the issue seems to be related to regional settings).
When creating a recurring event in the module, no error is logged, but when opening the module, sometimes an error occurs and this was traced back to the 'period' column in the events module.
This seems to be set in the US format, which causes a cast error when the string is cast to a date:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Cast from string "7/21/2006" to type 'Date' is not valid. ---> System.InvalidCastException: Cast from string "7/21/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.Events.EventInfoHelper.AddEventRecurrences(EventInfo oEventEvent, DateTime SelectBeginDate, DateTime SelectEndDate) at DotNetNuke.Modules.Events.EventInfoHelper.LoadEventDateRange(Int32 ModuleID, DateTime BeginDate, DateTime EndDate, Boolean Initialize) at DotNetNuke.Modules.Events.EventMonth.BindDataGrid() at DotNetNuke.Modules.Events.EventMonth.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Is this a module setting, a global setting, or a bug in the module ?
 
New Post
2/9/2007 12:41 PM
 

Got it...I fixed this today in the latest Beta bits.  I hope to have this latest Beta out for review this weekend.

Thanks,
   Alan

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsdate cast error in recurring eventsdate cast error in recurring events


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out