Its throwing server error on one scenario -
Steps -
Enter Start date
Enter End date as 0/0. here it throws serer error when we enter the date.
Exception : String was not recognized as a valid DateTime.
App Error Log : -
Employee ID : 0
Action Name : CompareEnrollmentDate
Model : System.Web.Mvc.HandleErrorInfo
Controller : Configuration
Web Error Log : at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
at WORKTERRA.SharedFunctionWebTier.ConvertToUSFormat(String ControlValue, String OutputFomat) in d:\WT\branches\LB\Web\SharedFunctionWebTier\SharedFunctionWebTier\CommonClasses\SharedFunctionWebTier.cs:line 3357
at WORKTERRA.Shared.Areas.Configuration.Controllers.ConfigurationController.CompareEnrollmentDate(String strEnrollmentClosingDate, String strEnrollmentOpeningDate) in d:\WT\branches\LB\Web\Web Projects\WORKTERRA\Areas\Configuration\Controllers\CompanyInformation\ClasswiseOEEffectiveDateRulesController.cs:line 83
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.b_12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
Hi Hrishikesh Deshpande,
Please find below 3C's of the issue,
Concern: EDS -> OE Date setting
Cause : Enrollment Opening Date and Enrollment Closing Date make these field mandatory.
Correction: java script Validation for Enrollment Opening Date and Enrollment Closing Date mandatory is done now.
Please check this issues.
CC : Satya,Sheetal Bodhale
Thanks,
Akshay Mukkawar