I'm receiving an issue, after upgrading from DNN 7.1 >> 7.03.04
I do see similar problems, but they are old, and the solution is not working.
When clicking "Page settings", I receive an error,
on all pages, in all portals!
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Value of '12/31/9999 11:59:59 PM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate ---> System.ArgumentOutOfRangeException: Value of '12/31/9999 11:59:59 PM' 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.Tabs.ManageTabs.BindTab() at DotNetNuke.Modules.Admin.Tabs.ManageTabs. (EventArgs e) --- End of inner exception stack trace ---
After setting debug=true: (dutch error)
DotNetNuke.Services.Exceptions.Exceptions - FriendlyMessage="Fout: is op dit moment niet beschikbaar." ctrl="ASP.desktopmodules_admin_tabs_managetabs_ascx" exc="System.ArgumentOutOfRangeException: Value of '31-12-9999 23:59:59' 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.Tabs.ManageTabs.BindTab() in d:\SITES\DotNetNuke\PROD\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs:line 379
at DotNetNuke.Modules.Admin.Tabs.ManageTabs. (EventArgs e) in d:\SITES\DotNetNuke\PROD\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs:line 1501"
Downloaded code. Code in that section:
if (!Null.IsNull(Tab.StartDate))
{
startDatePicker.SelectedDate = Tab.StartDate;
}
if (!Null.IsNull(Tab.EndDate))
{
endDatePicker.SelectedDate = Tab.EndDate;
}
endDatePicker.MinDate = DateTime.Now;
I did found info about a bug, where the EndDate and/or the StartDate was like '1
2/31/9999 11:59:59 PM' and the solution was:
UPDATE dnn_Modules SET StartDate=NULL WHERE StartDate LIKE '%9999%';
UPDATE dnn_Modules SET EndDate=NULL WHERE EndDate LIKE '%9999%';
UPDATE dnn_Tabs SET StartDate=NULL WHERE StartDate LIKE '%9999%';
UPDATE dnn_Tabs SET EndDate=NULL WHERE EndDate LIKE '%9999%';
But when I execute this, I get 0 rows effected... I even tried a script, searching all tables and all fields for %9999%, but there are no columns with that value at all...
It would probably be easier to set the radDate(Time) picker, to not give errors on invalid values, but only check it on save.
Well, no clue what this error courses... Anyone?
Regards,
Erik