Ticket T1143788
Visible to All Users

Error executing a released application

created 2 years ago

Hello support,

I'm having this problem trying to deploy an application that use DevExpress features.

The file attached contain the full error but this would be this one:

System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. —> System.NotImplementedException: The method or operation is not implemented.
at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
at System.Windows.Baml2006.Baml2006SchemaContext.GetProperty(Int16 propertyId, XamlType parentType)
at System.Windows.Baml2006.Baml2006Reader.ProcessPropertyWithConverter()
at System.Windows.Baml2006.Baml2006Reader.ProcessOneBamlRecord()
at System.Windows.Baml2006.Baml2006Reader.ReadKeys()
at System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)
at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<CreateBamlPropertyResourceDictionaryDeferrableContent>b2970(Object target, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
— End of inner exception stack trace —
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 SAR.Level2.Bootstrapper.ShowLoginWindow()
at SAR.Level2.Bootstrapper.Run()

I created an installable for my application and this error prompts, weird thing about this is that, testing in a machine with Devexpress products installed is working fine, but if I run the application in a 'blank' machine then I get the error.

I saw similar error posts suggesting this could be caused by Themes dll, even I'm just using one theme for my whole app I tried adding ALL of them but it doesn't work either.

Any clue or any way to get a more detailed error on what is throwing this?

Thank you so much

Answers approved by DevExpress Support

created 2 years ago

Hello Pablo,
If the issue occurs only on the target deployment machine, it can be related to some DLL missed in the installation package. In this case, you can check what DLLs are required for launching your application (including the ones that are loaded dynamically on demand) on the deployment machine using the Assembly Deployment Tool and add missed references. If it doesn't help, use the FusionLog tool on the problematic machine to determine where your application searches for DLLs and what DLLs it cannot find. See the following topic for details: Troubleshooting - How to use Fuslogvw.exe to address deployment issues.

Thanks,
Kirill

    Comments (2)

      Thank you so much for your quick response.

      With the assembly tool I added a bunch of dll and it's working. Now I'll try to use the other tool to identify which one is missing.

      Cheers

      Kirill (DevExpress Support) 2 years ago

        You are welcome.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.