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

How to overcome the error with App_Licenses.dll on hosting web application to server?

Problem

The following Exception rises when hosting web site to server as follows “Could not load file or assembly 'App_Licenses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect.

Reason

The error with assembly arises on hosting to server when the .NET version mismatches with assembly build version. The compiler cannot link the assembly, because it is created using a .NET framework version other than the one that is installed in the system.

 

Solution

You can add the Syncfusion DLLs to host the application with the controls in server and controls work fine on hosting it to servers. Refer to the following KB for deploying your application to server configuration for your website:

http://www.syncfusion.com/kb/2593/how-to-refer-assemblies-when-you-deploy-the-sample-in-windows-server

Further to overcome the error with App_Licenses.dll, follow the steps as follows,

  • Change the .Net framework version in Application pool to corresponding version used in your application.
  • Also clear the temporary .NET framework files from your system. Open the Run application and search for %temp. In the explorer window select and clear the .NET framework files and temporary ASP.NET files.
  • Finally rebuild your application.

For further references you can check the following stack overflow forum link as follows,

http://stackoverflow.com/questions/3831287/could-not-load-file-or-assembly-app-licenses

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
3198 01/12/2015 01/12/2015 ASP.NET Web Forms General 12.4.0.24
Tags:
Did you find this information helpful?
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