Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I get the above error after update dev express 2.7 to 2.10:

                                    System.Windows.Markup.XamlParseException occurred
                                      Message='Initialization of 'DevExpress.Xpf.NavBar.NavigationPaneView' threw an exception.' Line number '22' and line position '18'.
                                      Source=PresentationFramework
                                      LineNumber=22
                                      LinePosition=18
                                      StackTrace:
                                           at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
                                           at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
                                           at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
                                           at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
                                           at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
                                           at FarolWeb.pagMain.InitializeComponent() in c:\dados\wpf\FarolWeb\FarolWeb\pagMain.xaml:line 1
                                           at FarolWeb.pagMain..ctor() in C:\dados\wpf\FarolWeb\FarolWeb\pagMain.xaml.cs:line 35
                                      InnerException: System.Xaml.XamlObjectWriterException
                                           Message=Set property 'System.Windows.ResourceDictionary.Source' threw an exception.
                                           Source=System.Xaml
                                           LineNumber=0
                                           LinePosition=0
                                           StackTrace:
                                                at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
                                                at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(Object obj, XamlMember property, 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.WriteEndMember()
                                                at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
                                                at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
                                                at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter)
                                                at System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(Assembly assembly, String assemblyName, String resourceName, Boolean isTraceEnabled)
                                                at System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary(Boolean isTraceEnabled)
                                                at System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
                                                at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
                                                at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
                                                at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
                                                at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
                                                at System.Windows.FrameworkElement.TryFireInitialized()
                                                at System.Windows.FrameworkElement.EndInit()
                                                at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)
                                           InnerException: System.Windows.Markup.XamlParseException
                                                Message=Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception.
                                                Source=PresentationFramework
                                                LineNumber=0
                                                LinePosition=0
                                                StackTrace:
                                                     at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
                                                     at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
                                                     at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
                                                     at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
                                                     at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
                                                     at MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
                                                     at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
                                                     at System.Windows.ResourceDictionary.set_Source(Uri value)
                                                     at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<Create_BamlProperty_ResourceDictionary_Source>b__1c4(Object target, Object value)
                                                     at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
                                                     at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
                                                     at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
                                                InnerException: System.TypeInitializationException
                                                     Message=The type initializer for 'DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric' threw an exception.
                                                     Source=mscorlib
                                                     TypeName=DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric
                                                     StackTrace:
                                                          at System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
                                                          at System.Windows.DependencyProperty.FromName(String name, Type ownerType)
                                                          at System.Windows.Baml2006.WpfXamlType.FindDependencyPropertyBackedProperty(String name, Boolean isAttachable, Boolean skipReadOnlyCheck)
                                                          at System.Windows.Baml2006.WpfXamlType.FindMember(String name, Boolean isAttached, Boolean skipReadOnlyCheck)
                                                          at System.Windows.Baml2006.WpfXamlType.LookupMember(String name, Boolean skipReadOnlyCheck)
                                                          at System.Xaml.XamlType.GetMember(String name)
                                                          at System.Windows.Baml2006.Baml2006SchemaContext.GetProperty(Int16 propertyId, XamlType parentType)
                                                          at System.Windows.Baml2006.Baml2006Reader.Process_PropertyWithConverter()
                                                          at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
                                                          at System.Windows.Baml2006.Baml2006Reader.ReadKeys()
                                                          at System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)
                                                          at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__168(Object target, Object value)
                                                          at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
                                                          at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
                                                          at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
                                                     InnerException: DevExpress.Xpf.Core.XbapNotSupportedException
                                                          Message=Starting from v2011 vol 2, XBAP applications are not supported. Instead, we recommend that you use ClickOnce deployment (the most preferable way) or migrate your application to Silverlight. For more information, please refer to http://go.devexpress.com/SupportXBAP.aspx

                                    If you still want to continue using DevExpress controls in XBAP applications, set the OptionsXBAP.SuppressNotSupportedException property to True.
                                                          Source=DevExpress.Xpf.Core.v11.2
                                                          StackTrace:
                                                               at DevExpress.Xpf.Utils.Themes.ThemeKeyExtensionGeneric..cctor()
                                                          InnerException:

                                0

                                Hi Andre,

                                Thank you for the report. I tried to reproduce the issue you reported, but my attempts were unsuccessful. Judging by the exception, I can assume that this problem is related to the styling/theming. Would you please clarify whether or not you override any NavBar's template or style? If so, provide me with a xaml that contains your styles/templates, or better, create a sample to show the problem.

                                I am looking forward to your response.

                                Thanks,
                                Alexander

                                0

                                Had the same error

                                This happened after I installed a new version of DevExpress libraries

                                I noticed in VS WARNING a few like the one below...


                                Warning     27     Found conflicts between different versions of the same dependent assembly.     


                                I was using a few references to different DevExpress dll versions

                                Checking library versions and adjusting all to the same version # fixed the problem.


                                0

                                Hi Bertrand,

                                Thank you for your feedback and for sharing your results. We are glad that the problem is now solved. Thank you for your update and for sharing your results. Your cooperation is appreciated.

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners