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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve "Could not load file or assembly" error?

Problem

Could not load file or assembly 'Syncfusion.EJ, Version=14.2451.0.26, Culture=neutral, PublicKeyToken= 3d67ed1f87d44c89' or one of its dependenciesThe system cannot find the file specified” after running the project.

Reason

Reason for the error is Syncfusion.EJ assembly is not referenced properly in the sample.

Solution

You have to refer the dll’s that are installed in the system and the assembly details can be found from the following installed location.

“<Installed Location>\Syncfusion\Essential Studio\14.2.0.26\precompiledassemblies

After adding the Syncfusion assemblies you have to update the version of the web.config file that is located under the project’s root directory. Add the following assemblies in the assemblies tag that is placed under the compilation tag.

web.config

Note: The highlighted version denotes the version based on .NET framework that is used in the application. Replace the xxxx versions in your sample according to the installed assembly versions.

Given here is the version table for Syncfusion.Core, Syncfusion.EJ and Syncfusion.EJ.Mvc assemblies for your target MVC version in your EJMVC project.

Table 1: Assemblies for target

MVC Version

Assembly

Version

Example Version

MVC3

Syncfusion.Core

XX.X400.X.XX

14.2400.0.26

Syncfusion.EJ

XX.X400.X.XX

14.2400.0.26

Syncfusion.EJ.Mvc

XX.X300.X.XX

14.2300.0.26

MVC4

Syncfusion.Core

XX.X400.X.XX

14.2400.0.26

Syncfusion.EJ

XX.X400.X.XX

14.2400.0.26

Syncfusion.EJ.Mvc

XX.X400.X.XX

14.2400.0.26

MVC5

Syncfusion.Core

XX.X450.X.XX

14.2450.0.26

Syncfusion.EJ

XX.X450.X.XX

14.2450.0.26

Syncfusion.EJ.Mvc

XX.X500.X.XX

14.2500.0.26

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
4661 04/21/2015 07/14/2016 ASP.NET MVC General
Did you find this information helpful?
Comments
Ben Bloodworth Nov 08, 2017

I encountered this problem after following the manual integration steps here: https://help.syncfusion.com/aspnetmvc/getting-started#manual-integration

After fixing the version numbers in my web.config to match what was shown in my reference manager I'm no longer getting this error.  Thanks!

Reply
Add Comment
You must log in to leave a comment

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