Please start using our more robust New Forum, we have put this old forum in archive mode. Thanks.


Welcome Guest Search | Active Topics | Log In

Tag as favorite
effort must be a positive TimeSpan. Parameter name: requiredWorkEffort at RadiantQ.Windows.Control
pvenugopal
#1 Posted : Wednesday, March 05, 2014 5:23:41 AM

Posts: 6

Hello mate,

Good day,

I have a problem in loading the gantt table .And this happens for only some projects and not for all projects

Below is the error:


User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Timestamp: Wed, 5 Mar 2014 09:34:28 UTC


Message: Unhandled Error in Silverlight Application Required work effort must be a positive TimeSpan.
Parameter name: requiredWorkEffort at RadiantQ.Windows.Controls.Gantt.WorkTimeSchedule.a(DateTime A_0, TimeSpan A_1, WorkTimeSchedule[] A_2, TimeSpan A_3, Boolean A_4)
at RadiantQ.Windows.Controls.Gantt.WorkTimeSchedule.ConvertToNextWorkingTimeIntervals(DateTime start, TimeSpan requiredWorkDuration, WorkTimeSchedule[] schedules)
at RadiantQ.Windows.Controls.Gantt.WorkTimeSchedule.GetEnd(DateTime start, TimeSpan effort, WorkTimeSchedule[] schedules)
at RadiantQ.Windows.Controls.Gantt.Model.BaseGanttModel.a(IActivity A_0, ResourceAssignment A_1)
at RadiantQ.Windows.Controls.Gantt.Model.BaseGanttModel.ComputeEndTime(IActivity activity)
at RadiantQ.Windows.Controls.Gantt.Model.BaseActivity.get_EndTime()
at RadiantQ.Windows.Controls.Gantt.Model.ActivitiesCollection.a(IActivity A_0)
at RadiantQ.Windows.Controls.Gantt.Model.ActivitiesCollection.RadiantQ.Windows.Controls.Gantt.Utils.IUIUpdateable.PartialUpdate(Object tag)
at RadiantQ.Windows.Controls.Gantt.Utils.DelayUpdateUtil.TryDelayedUpdate(IUIUpdateable ui, Object tag)
at RadiantQ.Windows.Controls.Gantt.Model.ActivitiesCollection.OnChildPropertyChanged(IActivity child, PropertyChangedEventArgs e)
at RadiantQ.Windows.Controls.Gantt.Model.DataBoundActivitiesCollection.OnChildPropertyChanged(IActivity child, PropertyChangedEventArgs e)
at RadiantQ.Windows.Controls.Gantt.Model.ActivitiesCollection.a(Object A_0, PropertyChangedEventArgs A_1)
at RadiantQ.Windows.Controls.Gantt.Model.BaseActivity.OnPropertyChanged(String name)
at RadiantQ.Windows.Controls.Gantt.Model.DataBoundActivity.OnPropertyChanged(String name)
at RadiantQ.Windows.Controls.Gantt.Model.BaseActivity.PartialUpdate(Object tag)
at RadiantQ.Windows.Controls.Gantt.Utils.DelayUpdateUtil.EndUpdate()
at RadiantQ.Windows.Controls.Gantt.Utils.DelayUpdates.Dispose()
at RadiantQ.Windows.Controls.Gantt.Model.DataBoundGanttModel..ctor(IEnumerable boundColl, DateTime projectStartDate, DateTime projectEndDate, ScheduleFrom scheduleFrom, Boolean validateDepSettings, Boolean enforceDependencies, Boolean autoCalcParentTimes, Boolean adjustDurationForResources, Binding idBinding, Binding sortOrderBinding, Binding nameBinding, Binding indentLevelBinding, Binding startTimeBinding, Binding prefStartTimeBinding, Binding effortBinding, Binding predecessorTaskIndexBinding, Binding progressPercentBinding, Binding descriptionBinding, IEnumerable resourcesList, Binding resourceNameBinding, Binding resourceIDBinding, Binding resourceScheduleBinding, Binding assignedResourcesBinding, WorkTimeSchedule schedule)
at aa.a(IEnumerable A_0)
at aa.e()
at ab.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertToTarget(Object value)
at System.Windows.Data.BindingExpression.UpdateTemporaryValue()
at System.Windows.Data.BindingExpression.GetValue(DependencyObject d, DependencyProperty dp)
at System.Windows.DependencyObject.EvaluateExpression(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry)
at System.Windows.DependencyObject.EvaluateBaseValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.EvaluateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry, ValueOperation operation)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp)
at System.Windows.Data.BindingExpression.SendDataToTarget()
at System.Windows.Data.BindingExpression.SourcePropertyChanged(PropertyPathListener sender, PropertyPathChangedEventArgs args)
at System.Windows.PropertyPathListener.ReconnectPath()
at System.Windows.PropertyPathListener.RaisePropertyPathStepChanged(PropertyPathStep source)
at System.Windows.PropertyAccessPathStep.RaisePropertyPathStepChanged(PropertyListener source)
at System.Windows.DependencyPropertyListener.SourcePropertyChanged(DependencyObject sender, DependencyProperty dp)
at System.Windows.Data.WeakDependencyPropertyChangedListener.SourcePropertyChanged(DependencyObject sender, DependencyProperty dp)
at System.Windows.DPChangedEventHandler.Invoke(DependencyObject sender, DependencyProperty dp)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyProperty dp)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyProperty dp)
at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
at System.Windows.Controls.ItemsControl.set_ItemsSource(IEnumerable value)
at PPLGanttProj.MainPage.objSerClient_GetAllTasksCompleted(Object sender, GetAllTasksCompletedEventArgs e)
at PPLGanttProj.svcRefPPLGantt.IsvcPPLGanttClient.OnGetAllTasksCompleted(Object state)
Line: 1
Char: 1
Code: 0
URI: http://192.168.100.46/Ew...p;IsfromProblemSolver=1


Can any one tell me when this error will occur ? or why this error happened? or what gantt table is expecting? .

Amarnath
#2 Posted : Wednesday, March 05, 2014 8:21:52 AM

Posts: 51

Venugopal,

This happens when a negative effort is specified on the task. The gantt usually validates the user inputs to make sure this doesn't happen. Can you tell us the sequence of steps that causes this issue?

Also, can you give us the Silverlight Gantt assembly version you are working with?

Thanks,
Amar
Tag as favorite
Forum Jump  
Please Email support@radiantq.com for any issues

ugg boots outlet cheap ugg sale ugg boots clearance ugg boots sale ugg boots cheap ugg boots for women uggs for cheap ugg shops cheap ugg boots cheap uggs Official Ugg Outlet ugg Store Buy Cheap UGGs ugg boots uk ugg boots usa ugg Online uggs on sale ugg outlets cheap ugg boot Discount UGG Boots discount uggs