We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Table Layout example

Hi,
I'm testing some features about table layout with version 12.1.0.43.
So I opened the TableLayout_2012.sln solution, but following exception is thrown at application startup.
Sorry for messages in It culture. It seems that there is a dependency from Syncfusion.Core, Version=11.2045.0.25??

Where my mistake?

Best regards

Domenico Mozzone
System.Windows.Markup.XamlParseException verificata
  HResult=-2146233087
  Message='La chiamata del costruttore sul tipo 'Syncfusion.Windows.Diagram.DiagramControl' corrispondente ai vincoli di associazione specificati ha generato un'eccezione.' numero riga '52' e posizione riga '22'.
  Source=PresentationFramework
  LineNumber=52
  LinePosition=22
  StackTrace:
       in System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
  InnerException: System.IO.FileNotFoundException
       HResult=-2147024894
       Message=Impossibile caricare il file o l'assembly 'Syncfusion.Core, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=632609b4d040f6b4' o una delle relative dipendenze. Impossibile trovare il file specificato.
       Source=Syncfusion.Diagram.Wpf
       FileName=Syncfusion.Core, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=632609b4d040f6b4
       FusionLog==== Informazioni sullo stato di preassociazione ===
REG: DisplayName = Syncfusion.Core, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=632609b4d040f6b4
 (Fully-specified)
REG: Appbase = file:///L:/SyncfusionSamples/EssentialStudio/12.1.0.43/WPF/Diagram.WPF/Samples/Automatic Layout/Table Layout Demo/CS/bin/Debug/
REG: DEVPATH = C:\ProgramData\Red Gate\.NET Reflector\DevPath
REG: PrivatePath iniziale = NULL
Assembly chiamante: Syncfusion.Diagram.Wpf, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89.
===
REG: l'associazione ha origine nel contesto di caricamento di default.
REG: impossibile trovare un file di configurazione dell'applicazione.
REG: utilizzo del file di configurazione host: 
REG: utilizzo del file di configurazione computer da C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
REG: riferimento post-criteri: Syncfusion.Core, Version=11.2045.0.25, Culture=neutral, PublicKeyToken=632609b4d040f6b4
REG: tentativo di download del nuovo URL file:///L:/SyncfusionSamples/EssentialStudio/12.1.0.43/WPF/Diagram.WPF/Samples/Automatic Layout/Table Layout Demo/CS/bin/Debug/Syncfusion.Core.DLL.
REG: tentativo di download del nuovo URL file:///L:/SyncfusionSamples/EssentialStudio/12.1.0.43/WPF/Diagram.WPF/Samples/Automatic Layout/Table Layout Demo/CS/bin/Debug/Syncfusion.Core/Syncfusion.Core.DLL.
REG: tentativo di download del nuovo URL file:///L:/SyncfusionSamples/EssentialStudio/12.1.0.43/WPF/Diagram.WPF/Samples/Automatic Layout/Table Layout Demo/CS/bin/Debug/Syncfusion.Core.EXE.
REG: tentativo di download del nuovo URL file:///L:/SyncfusionSamples/EssentialStudio/12.1.0.43/WPF/Diagram.WPF/Samples/Automatic Layout/Table Layout Demo/CS/bin/Debug/Syncfusion.Core/Syncfusion.Core.EXE.

       StackTrace:
            in Syncfusion.Licensing.EnvironmentTestDiagramWPF.StartValidateLicense(Type controltype)
            in Syncfusion.Windows.Diagram.DiagramControl..ctor()
            in System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument)
            in System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
            in System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CreateInstance(XamlTypeInvoker type)
            in System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
            in MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
            in MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)
       InnerException: 


3 Replies

PA Parthiban A Syncfusion Team May 22, 2014 11:31 AM UTC

Hi Domenico,

We have checked with our side, sample is working fine. From the provided stack trace information, we suspect that some assembly versions (Syncfusion.Diagram.WPF and Syncfusion.Core) are not referred correctly.

Kindly check whether the correct version is referred.

To check, right click on the assembly (Syncfusion.Diagram.WPf, Syncfusion.Core) under References. Click properties and see the version number. And change Specific version to false.

Now delete bin and obj files, rebuild the application.

We also show this in provided screen shot. Kindly refer from attachment.

Regards,

Parthiban.


Attachment: Assembly_Check_e9bed65c.zip


DM Domenico Mozzone May 22, 2014 02:55 PM UTC

Hi Parthiban,
I checked for assemblies versions, please see screenshots in attachment.
The same error happens in a new solution if I drag the Diagram Control to a window from Toolbox.
So till now I can't use 12.1.0.43 version Diagram Control.
Best Regards
Domenico

Attachment: Cattura_9754b59.zip


SC Sudhakar C Syncfusion Team May 27, 2014 04:26 AM UTC

Hi Domenico,

We are unable to reproduce the reported issue in our side. However, please follow the below suggestions.

        1.      We suspect that there may be mismatched version of dlls referred in your application (among 11.2045.0.25 & 12.1.0.43). So, we are suggesting you to please remove the 11.2 assemblies from GAC by run the Assembly Manager.

For more information about the Assembly Manager, please refer our documentation using the below link.

Link: http://help.syncfusion.com/ug/common/default.htm#!documents/assemblymanager.htm 


        2.      Please set ‘Specific Version’ as true for all 3 dlls (Syncfusion.Core, Diagram, Shared dlls) and then compile the application. 

Still if you face the issue, please provide the diagram dependent assemblies (Syncfusion.Core, Diagram, Shared dlls) which you are currently using. We will check internally and will provide the appropriate information once you provided the assemblies.

Please let us know if you have any concerns on this.

Regards,

Sudhakar C  


Loader.
Live Chat Icon For mobile
Up arrow icon