Jeyavel
Jeyavel

Reputation: 3030

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified

i have installed AJAXcontrolsToolkit with my visual studio and placed "Combobox" Ajaxcontrol controls in my webpage . when i am compiling the code getting below error

"Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified"

Upvotes: 1

Views: 15117

Answers (4)

The application not load because it not find or not is compatible, try to do download from at nuget Install-Package AjaxControlToolkit -version x.x, or in site.

Upvotes: 0

David
David

Reputation: 11

I use File-Zilla to upload my files to the web server. I found that my reference files (AjaxControlToolkit.dll and AjaxControlToolkit.pdb) in the bin folder on the web server had not been completely transferred. so I deleted them and I uploaded new ones from the development site directly into the bin folder of the web server.

And Voila! Everything just fell into place like magic.

Upvotes: 1

GRam
GRam

Reputation: 11

The above post was very useful

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

I was using the above code , i replaced the code as below and now working

<%@ Register Assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=****" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

Thanks for your post

Upvotes: 1

Sachin Shanbhag
Sachin Shanbhag

Reputation: 55489

Have you added the required assembly to the references of your project?

Upvotes: 1

Related Questions