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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Could not find file 'Syncfusion.Diagram.Base.resources

Thread ID:





118032 Jan 22,2015 11:17 AM UTC Nov 14,2016 11:43 AM UTC WinForms 6
Tags: Diagram
Rashmi Mohan
Asked On January 22, 2015 11:17 AM UTC


I have migrated my application from visual studio framework 3.5 to 4.0 so due to migration i have added syncfusion 4.0 dll to my application,
At runtime during intialization of diagram control application is throwing  "Could not find file 'Syncfusion.Diagram.Base.resources", 
So please give some solution to resolve the issue.


   private void InitializeComponent()
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LayoutConfiguratorUserControl));
            this.diagramLayoutConfigurator = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);


Swarnesh Krishna Kumar [Syncfusion]
Replied On January 23, 2015 11:53 AM UTC

Hi Rashmi,

Thanks for using Syncfusion products.

We are afraid that we are not able to reproduce the reported issue. Could please provide us more information probably your sample which will help us to provide a better solution.

Here is the Video.


Kindly check the below sample and let us know if you have any concern


Swarnesh K


Attachment: WindowsFormsApplication10_44f42edd.zip

Oliver Politzki
Replied On November 4, 2016 09:12 AM UTC


I've got the same problem.
After upgrading from a very old Syncfusion version from 2008 to Syncfusion 14 I get the same error as Rashmi Mohan.

What I've tried so far:
 - Reinstalling Syncfusion
 - Removing assemblies from the GAC and installing them again afterwards
 - Using the project migration tool
 - Removing the diagram control from the form in our application and placing it again on the form

I can start your demo application without problems, but in our applications it's always crashing at runtime.
But I can view and edit the diagram control just fine at desing time.


Naganathan Ganesh Babu [Syncfusion]
Replied On November 7, 2016 11:17 AM UTC

Hi Oliver, 
Please follow-up with the incident created by you for the same query 
Naganathan K G 

Oliver Politzki
Replied On November 11, 2016 11:36 AM UTC

I found the solution!

We've implemented Syncfusion Symbol Designer-Files in our project (*.edp-files).
Theses files are added as resource in visual studio and are getting deserialized at runtime with a BinaryFormatter, like this:

 IFormatter formatter = new BinaryFormatter();
 AppDomain.CurrentDomain.AssemblyResolve += DiagramBaseAssembly.AssemblyResolver;

this._resourcePalette = formatter.Deserialize(new MemoryStream(serializedNodeTemplates)) as SymbolPalette;

The orange line is the reason for the exception, because when I uncomment this line, the diagram can be created but the
_resourcePalette is empty (so it's crashing at a different part in my application).

I'll googled for DiagramBaseAssembly.AssemblyResolver and found this: https://www.syncfusion.com/forums/79037/symbol-designer-and-diagram-editor
From this post, I copied this line:
formatter.Binder = Syncfusion.Runtime.Serialization.AppStateSerializer.CustomBinder;

Now my code looks like this:

 IFormatter formatter = new BinaryFormatter();
 formatter.Binder = Syncfusion.Runtime.Serialization.AppStateSerializer.CustomBinder;

 this._resourcePalette = formatter.Deserialize(new MemoryStream(serializedNodeTemplates)) as SymbolPalette;

_resourcePalette is not null this time and everything works fine! :)

Oliver Politzki
Replied On November 11, 2016 12:30 PM UTC

Ah, I forgot something!

I've opened and saved all the edp-files once with the newer version of the Symbol Editor from Syncfusion, before I changed my code.

But I don't know if this is needed. That was just my first asumption, that the edp-files are outdated.

Naganathan Ganesh Babu [Syncfusion]
Replied On November 14, 2016 11:43 AM UTC

Hi Oliver,  
We have updated the response in incident which is created by you for the same query. Please follow-up with that incident for furthers details. 
Naganathan K G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon