ERROR Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies

前端 未结 6 1939
猫巷女王i
猫巷女王i 2020-12-06 09:52

I\'m deploying my website on the server.

My website is done using asp.net c# 4 and EF 4.

I receive this error:

Could not load file or assembl         


        
相关标签:
6条回答
  • 2020-12-06 10:25

    Right click in Project / Clean

    That always works for me

    0 讨论(0)
  • 2020-12-06 10:26

    It looks like you're trying to run it on a version of ASP.NET which is running CLR v2. It's hard to know exactly what's going on without more information about how you've deployed it, what version of IIS you're running etc (and to be frank I wouldn't be very much help at that point anyway, though others would). But basically, check your IIS and ASP.NET set-up, and make sure that everything is running v4. Check your application pool configuration, etc.

    0 讨论(0)
  • 2020-12-06 10:28

    Might sound obvious but do you definitely have AjaxControlToolkit.dll in your bin?

    0 讨论(0)
  • 2020-12-06 10:41

    check below link in which you can download suitable AjaxControlToolkit which suits your .NET version.

    http://ajaxcontroltoolkit.codeplex.com/releases/view/43475

    AjaxControlToolkit.Binary.NET4.zip - used for .NET 4.0

    AjaxControlToolkit.Binary.NET35.zip - used for .NET 3.5

    0 讨论(0)
  • 2020-12-06 10:42

    If you are working with Source safe then make a new directory and take the latest there, this solved my issue...thanks

    0 讨论(0)
  • 2020-12-06 10:48

    Just Add AjaxControlToolkit.dll to your Reference folder.

    On your Project Solution

    Right Click on Reference Folder  > Add Reference > browse  AjaxControlToolkit.dll .
    

    Then build.

    Regards

    0 讨论(0)
提交回复
热议问题