When publishing a web application in a server, a configuration error may arise like the following:
Server Error in '/' Application.
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:
Figure 2: Setting Copy Local as true in Properties window
This page will automatically be redirected to the sign-in page in 10 seconds.