Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
Token not found
posted

I have used the XamDayView in my app and it works fine on Windows 7 but on an XP machine I get the following error.

I'm binding the XamDayView.DataManager to create a XamScheduleDataManager on the fly.
Looks like a failure to get the time zone token, any ideas?
Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Token not found.
Parameter name: id
Source : InfragisticsWPF4.Controls.Schedules.v10.3
Help link : 
ParamName : id
Data : System.Collections.ListDictionaryInternal
TargetSite : Infragistics.Controls.Schedules.TimeZoneToken GetTimeZoneToken(System.String, Boolean)
Stack Trace :    at Infragistics.Controls.Schedules.TimeZoneInfoProvider.GetTimeZoneToken(String id, Boolean verifyIdIsValid)
   at Infragistics.Controls.Schedules.OSTimeZoneInfoProvider.get_UtcToken()
   at Infragistics.Controls.Schedules.TimeZoneToken.ConvertToUtc(DateTime dateTime)
   at Infragistics.Controls.Schedules.XamScheduleDataManager.UpdateLogicalDayTimer()
   at Infragistics.Controls.Schedules.XamScheduleDataManager..ctor()
   at NovaStdTemplates.ModuleTemplates.BinderDataManagerConverter.Convert(Object[] values, Type targetType, Object parameter, CultureInfo culture)
   at System.Windows.Data.MultiBindingExpression.TransferValue()
   at System.Windows.Data.MultiBindingExpression.Transfer()
   at System.Windows.Data.MultiBindingExpression.UpdateTarget(Boolean includeInnerBindings)
   at System.Windows.Data.MultiBindingExpression.AttachToContext(Boolean lastChance)
   at System.Windows.Data.MultiBindingExpression.AttachOverride(DependencyObject d, DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.Attach(DependencyObject target, DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.OnAttach(DependencyObject d, DependencyProperty dp)
   at System.Windows.StyleHelper.GetInstanceValue(UncommonField`1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry& entry)
   at System.Windows.FrameworkTemplate.ReceivePropertySet(Object targetObject, XamlMember member, Object value, DependencyObject templatedParent)
   at System.Windows.FrameworkTemplate.<>c__DisplayClass6.<LoadOptimizedTemplateContent>b__4(Object sender, XamlSetValueEventArgs setArgs)
   at System.Xaml.XamlObjectWriter.OnSetValue(Object eventSender, XamlMember member, Object value)
   at System.Xaml.XamlObjectWriter.SetValue(Object inst, XamlMember property, Object value)
   at System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
   at System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
   at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
   at System.Xaml.XamlObjectWriter.WriteEndObject()
   at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)