Last post Oct 12, 2011 03:07 AM by chetan.sarode
Nov 19, 2006 02:03 AM|sharpelabs|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|David Anson|LINK
I'd guess that maybe the web server doesn't have ASP.NET AJAX Beta 2 installed.
Nov 28, 2006 09:24 PM|David Anson|LINK
Dec 14, 2006 06:49 AM|HiTech2k|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|Mike_Zandvliet_|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|kiddoo_81|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|soccerman777|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|HiTech2k|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|robertyhn|LINK
Thank you! you solve my problem. I was about to upgrade my site to .NET3.5 ...
Feb 09, 2009 03:38 PM|niranjanking|LINK
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies
Jun 23, 2009 09:25 PM|rinkuchoudhury|LINK
Jun 23, 2009 10:18 PM|rinkuchoudhury|LINK
Jul 19, 2009 09:01 PM|cookietx|LINK
Has anyone come up with a solution to this problem yet? I am deploying my application to a public webserver and do not have the option of installing any assemblies at the webroot level. The "dll" files are in the applicaiton bin directory so why does the
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
end up with erro:
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
Jul 20, 2009 03:53 AM|rinkuchoudhury|LINK
Fortunately the problem got solved.
What I did is, I deployed the application directly in the exact path location of the web server(e.g.: httpdocs/), not in any virtual folder(say testServer).
Put the files directly in the web server folder location along with the Bin folder how it is in the application. IF you will deply them in nay subfolder such problem may occur due to accesebikity issue.
Please try the same hopw it will work for you also.
PLease masrk it as answered if you get it solved.
May 17, 2010 05:46 AM|vanchitv0|LINK
hi i am also having same error. so let me know how to solve the problem in server.
Thanks in advance.
AJAX Control Toolkit
May 17, 2010 05:52 AM|vanchitv0|LINK
pls let me know i am also having the same problem. pls tell me how to solve that very urgent.
Jan 24, 2011 10:42 AM|wadadlitech|LINK
I added the following line to the web.config file and it worked for me.
<add tagPrefix="ajax" namespace="AjaxControlToolkit" assembly="AjaxcontrolToolkit"/>
I also made sure that all the files from my development machine were copied to the IIS webfolder for the website. I notice that sometimes the Copy Website tool in VS does not copy all subfolder files. Check that.
Jul 16, 2011 04:49 PM|Pankil|LINK
you sohuld create a BIN folfer in your web-site. after than in BIN folder just copy paste your AjaxControlKit.dll.
you can find this .dll file from Ajax setup file. i hope that this will work...
Oct 11, 2011 09:17 AM|jasuDotNet|LINK
Thank you! you solve my problem.
Following your instructions helped me resolve this issue.
Oct 12, 2011 03:07 AM|chetan.sarode|LINK
Hi, Please refer this