Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 12, 2011 03:07 AM by chetan.sarode
Nov 19, 2006 02:03 AM|LINK
Ive just started to transfer the website to the server and i keep getting this error "Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified."
It works fine in VS, and the AjaxControlToolkit.dll is in the bin directory.
Ive added the assembly reference to the config:
<add tagPrefix="AtlasControl" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
Nov 28, 2006 09:22 PM|LINK
I'd guess that maybe the web server doesn't have ASP.NET AJAX Beta 2 installed.
Nov 28, 2006 09:24 PM|LINK
Dec 14, 2006 06:49 AM|LINK
I also had this error when visiting the web site on the URL (although I could debug it from Visual Studio). I solved it by creating an application on the directory of the AJAX project in IIS (In the Internet Information Services Manager). Hope that helps.
Jun 19, 2007 05:34 AM|LINK
Thanks - I had exactly the same problem myself, and creating the Application in IIS Manager fixed it. Thanks for the tip. [:D]
May 12, 2008 09:37 AM|LINK
Hi, i also have the same problem while deploy my web to window server 2003. It seem it cannot find the naming of the ajaxtoolkit which i store inside a "bin" folder. First of all, I though it is the Share point problem that do some security restriction.
But after 2 days of testing, i found out, you have to create a new website in your IIS and using different port number to serve your new software.
However, i still don't know why virtual path cannot be used to do the deployment... [:(]
Anyway, hope this one can help, just create another website, then set another port, then point to your file. that is all... (this is not good machinism if i want to swith to new server or rename the system. all the internal link have to be change.)
Oct 28, 2008 03:59 PM|LINK
I am new to asp.net and I am not sure what you mean by "creating an application on the directory of the AJAX project in IIS " What type of application?
Oct 29, 2008 01:27 AM|LINK
It's a while ago I did this, the meaning is that I solved this problem by creating an application in IIS. Note, IIS, not Visual Studio.
A "step by step" instruction would be something like this:
1. Control Panel > Administrative Tools > Internet Information Services
2. Expand the server > Web Sites > Default Web Sites (or whatever location the site is)
3. Right-click the folder and choose "Properties" from the context menu
4. On the default "Directory" tab, there's a button called "Create". This will create an application in the folder.
I think the source of confusion is that the ASP.NET AJAX controls are marketed as just "drag and drop them into your application", however, in reality it's a bit more complicated than that. A lot of things are going on behind the scenes to make this work,
like webresource.axd etcetera, I suppose the conclusion is that IIS needs to be set up properly for that on.
Dec 11, 2008 03:36 PM|LINK
Thank you! you solve my problem. I was about to upgrade my site to .NET3.5 ...
Feb 09, 2009 03:38 PM|LINK
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies