I created a program in visual studio 2008 with several windows. One of the windows uses the Windows ribbon control. Now the program works fine on my computer (Windows XP), but when I want to run it on another computer installed with .net 3.5 SP1 installed, I can start the program, but I get a failure when I open the window using the ribbon control. This is the error file that I get when I try to catch:
System.Windows.Markup.XamlParseException: exception thrown on target call. Error in object 'System.Windows.Data.Binding. ---> System.Reflection.TargetInvocationException: An exception was thrown on the target of the call. ---> System.ComponentModel.Win32Exception: HRESULT_FROM_WIN32 (ERROR_NOT_FOUND) to Standard .HRESULT.ThrowIfFailed (String Message) in Standard.NativeMethods.GetCurrentThemeName (String & themeFileName, String & color, String & Size.Shell) with Microsoft.W. SystemParameters2._InitializeThemeInfo () at Microsoft.Windows.Shell.SystemParameters2..ctor () at Microsoft.Windows.Shell.SystemParameters2.get_Current () --- The end of the internal trace stack exception System.RuntimeMethodHandle._InvokeMethodFast (Object target, Object [] arguments, SignatureStruct & sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) with System.RuntimeMethodHandle.InvokeMethodFast (Object target, Object [] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeRamentr. , with knitting binder, Object [] parameters, CultureInfo culture, Boolean skipVisibilityChecks) in System.Reflection.RuntimeMethodInfo.Invoke (Object obj, BindingFlags invokeAttr, binder, Object [] parameters, CultureInfo culture)
in System.Reflection.RuntimePropertyInfo.GetValue (Object obj, BindingFlags invokeAttr, binder, Object [] index, CultureInfo culture) in System.Reflection.RuntimePropertyInfo.GetValue (obj, Object [] index) in System.Windows.Markup. StaticExtension.ProvideValue (IServiceProvider serviceProvider) at System.Windows.Markup.BamlRecordReader.GetStaticExtensionValue (Int16 member) in System.Windows.Markup.BamlRecordReader.GetExtensionValue (IOptimizedMarkupExtension optimizedMarkupExtensionRecord, String propertyName) at System.Windows.Markup.TemplateBamlRecordReader.ReadPropertyWithExtensionRecord (BamlPropertyWithExtensionRecord bamlPropertyRecord) in System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord bamlRecord) --- End of the internal stack of the exception stack --- at System.Windows.Markup.XamlParseException.ThrowException (String message, InnerException, Int32 line exception ber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, type objectType) in System.Windows.Markup.XamlParseException.ThrowException, ParserContext parserContext, Int32Wumber BamlRecordReader.ReadRecord (BamlRecord bamlRecord) in System.Windows.Markup.TemplateBamlRecordReader.ReadNonContentRecord (BamlRecord bamlRecord) in System.Windows.Markup.ordlordordamordecordreaderreamreamreamreamereamreamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamreamreamreamereamreamreamreamereamreamerecamreamreamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamereamreamreamerecam System.Windows.Markup.TemplateTreeBuilderBamlTranslator.ParseFragment () in System.Windows.Markup.TreeBuilder.Parse () in System.Windows.Markup.XamlTemplateSerializer.ConvertBamlToObject (BamlRecordlordRecordReaderReaderReader BamlRecordReader.ReadElementStartRecord (BamlElementStartRecord bam lElementRecord) in System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord bamlRecord) in System.Windows.Markup.BamlRecordReader.ReadElement (Int64 startPosition, XamlObjectIds contextXamlObjectIds, ObjectObjectResource) in System.Windows.ResourceDictionary.RealizeDeferContent (object key, Object & value, Boolean & canCache) in System.Windows.ResourceDictionary.GetValueWithoutLock (object key, Boolean & canCache) in System.Windows.ResourceDictionary.GetValue (Object key, Boolean & canCache) in System.Windows.DeferredThemeResourceReference.GetValue (BaseValueSourceInternal valueSource) in System.Windows.DependencyPropertyChangedEventArgs.get_NewValue () in System.Windows.Controls.Control.OnTemplateChanged (DependencyenChopjectProjectDeperjectBjectDeprejectProject.DepenjectBench DependencyPropertyChangedEventArgs is Sy stem.Windows.FrameworkElement.OnPropertyChanged (DependencyPropertyChangedEventArgs is System.Windows.DependencyObject.NotifyPropertyChange (DependencyPropertyChangedEventArgs args) in System.Windows.DependencyObject.UpdateEffectiveValue (EntryIndex entryIndex, DependencyProperty dp, metadata PropertyMetadata, EffectiveValueEntry oldEntry, EffectiveValueEntry & newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.StyleHelper.ApplyStyleOrTemplateValue (FrameworkObject fo, DependencyProperty dp) at System.Windows.StyleHelper.InvalidateContainerDependents (DependencyObject container, FrugalStructList 1& exclusionContainerDependents, FrugalStructList 1 & oldContainerDependents, FrugalStructList`1 & newContainerDependents) in System.Windows.StyleHelper .DoThemeStyleInvalidations (FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, style style) on System.Windows.Styl eHelper.UpdateThemeStyleCache (FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style & themeStyleCache) in System.Windows.FrameworkElement.OnThemeStyleChanged (DependencyObject d, Object oldValue.lementmelemelemelemelemelemelemelemelemelemelemelemelemelemelemelemelemelemelemelevellemelemeleval FrameworkContentElement fce) in System.Windows.FrameworkElement.UpdateThemeStyleProperty () in System.Windows.FrameworkElement.OnInitialized (EventArgs e) in System.Windows.Controls.MenuItem.OnInitialized (EventArgs e) in System.Windows.Frywork () System.Windows. in System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord bamlRecord) in System.Windows.Markup.BamlRecordReader.Read ( Boolean singleRecord) in System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment () in System.Windows.Markup.TreeBuilder.Parse () in System.Windows.Markup.XamlReader.LoadBaml (stream stream, ParserContext parser closeerream close with System.Windows.Application.LoadComponent (object component, Uri resourceLocator) with Waak.WeegschaalProgramma.WeegAuteurWindow.InitializeComponent () at Waak.WeegschaalProgramma.WeegAuteurWindow..ctor (WeegschaalProcessor weegschaalP
Has anyone seen this error before or has any tips to help me? I already uninstalled .net and completely reinstalled it.