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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Got error by module settings when using StartDate or EndDate (DNN601)Got error by module settings when using StartDate or EndDate (DNN601)
Previous
 
Next
New Post
9/29/2011 10:33 AM
 
Hello

I work often with module startdate and enddate. This was working fine until the update to DNN 6.0.x. If I set an enddate to a module, the module disappears at the selected date. As far as good. But if I want to change the settings of an expired module or a module with a startdate, I got the following error message after click on the button 'settings':

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Value of '7/1/2011 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate ---> System.ArgumentOutOfRangeException: Value of '7/1/2011 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate at Telerik.Web.UI.RadDatePicker.set_SelectedDate(Nullable`1 value) at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.OnLoad(EventArgs e) --- End of inner exception stack trace ---

As far as I understand, there's a problem by converting the value '7/1/2011 12:00:00 AM' to a value for the datepicker element. The only solution which I've found, is the remove the start- and enddate directly in the database by SQL.
UPDATE [dotnetnuke].[dbo].[dnn_Modules]
SET StartDate = NULL,
SET EndDate = NULL
WHERE ([ModuleID] = 536)
I've installed German-Switzerland as additional language. For administration, I use allways en-US. It could be a dateformat error, in Europe, we use 01.10.2011 for the first of October, with english regional settings it's '1/10/2011'. In the database, the value is stored as '7/1/2011 12:00:00 AM'. I think that's correct.

Does anybody know this behaviour and have a solution?

The second point is, that I can set an enddate for surveys on the settings-page. But the value isn't stored. If I re-open the setting-page of the survey, the enddate is empty again. This could be related to the error with start- and enddate.

Thank you for information

mibagict
 
New Post
10/2/2011 4:14 PM
 
for the first issue can you log this at support.dotnetnuke.com, please include details of the languages setup and default language. As for the other issue it sounds like a bug in the survey module - is this new since the upgrade or has that always been the case (if it's always been the way please log it as an issue at http://dnnsurvey.codeplex.com/workitem/list/basic)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/2/2011 4:27 PM
 
actually the 2nd issue seems to be known and fixed and will be in the 4.7 version - http://dnnsurvey.codeplex.com/workitem/21194

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/3/2011 3:44 AM
 
Hi Cathal

Thank you for your answer, I've opened the issue DNN-18047 (http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=18047&PROJID=2). I'm wondering if I'm the only one with this problem. Usually I find to almost everything an entry in the forum, but not for this case.

Actually, I set the closing date for surveys directly in the database. Thanks for your information about the survey module 4.7.0, it's a known bug, that's good.

kind regards

mibagict
 
New Post
10/3/2011 5:42 PM
 
no i don't believe you're the only one, i recall 1 other similar issue - it's likely that it will come down to a configuration issue e.g. collation of the database, set up of localization on the portal, webserver settings etc., as it's certainly not a common issue, so any information you can provide on those variations would be welcome.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Got error by module settings when using StartDate or EndDate (DNN601)Got error by module settings when using StartDate or EndDate (DNN601)


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