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

Discussion in 'ASP.NET / ASP.NET Core' started by terzinator, Oct 15, 2012.

  1. Basic site using a single basic control (slideshow).

    Developing in Visual Web Developer 2010, and the site runs fine when debugging/viewing in browser.

    But when I run from a live server, I get this error.

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

    It's not like the specific control is wacky; it craps just loading the assembly.

    What, specifically, needs to be in the BIN folder? (Again, the AjaxControlToolkit.dll is in mine, as it runs just fine when launched from VWD.)

    What, specifically, needs to be referenced in the web config file?

    These things are hard to troubleshoot when it runs fine locally! And it's not only on discountasp.net; I've tried on GoDaddy and get the same error.

    Thanks.
     
  2. well, I figured it out. Needed to run the directory as a Web Application. (Tools & Utilities > Web Application Tool)
     
  3. mjp

    mjp

    Glad you got it up and running.
     
  4. That's good, you figured out the solution for the query.
     

Share This Page