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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve server error “could not load or assembly...” when publishing an application?

Platform: ASP.NET MVC |
Control: Grid

When publishing a web application in a server, a configuration error may arise like the following:


Server Error in '/' Application.

Configuration Error

Description: An error occurs during the processing of a configuration file required to service this request. Review the following specific error details and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly Syncfusion.Core, Version=xx.xxxx.x.xx, Culture=neutral, PublicKeyToken=632609b4d040f6b4 or one of its dependencies. The system cannot find the specified file.


Figure 1: Error details


When running a project locally, the dlls are referred from the Global Assembly Cache, (GAC) of the local machine. But, when deploying the project in the server, the GAC is not available and thus the referred dlls could not be loaded.


You can resolve the assembly reference issue by either one of the following ways:

  1. By setting the Copy To Local property to true for the corresponding assembly.

Figure 2: Setting Copy Local as true in Properties window

  1. Or by manually copying and placing the dlls in the bin folder of the deployed project.

2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment
Sep 27, 2016

Still no help. I copied all of the Syncfusion.DLLs to the BIN folder of the project and have the same error.

I didn't get a file not found error. I got "  An attempt was made to load a program with an incorrect format."


Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile