lundi 29 juin 2015

assembly not found && deploy asp.net mvc application

I have an Asp.net mvc application in which I have used Telerik.OpenAccess tool then I deleted it.

When I launch my application it runs without errors! But when I deploy it I get this error :

Could not load file or assembly 'Telerik.OpenAccess, Version=2015.1.225.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.OpenAccess, Version=2015.1.225.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

I tried to find the reference of Telerik.OpenAccess in all the configuration files to delete it but I don't find it !!!

So I need to know :

  1. How can I fix this problem?
  2. Why I don't have this problem before deploiement?

1 commentaire: