The solution that worked for me was I had to change my permissions on the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files folder. That corrected the issue!
I'd guess your ASP.NET AJAX install wasn't successful, but it's hard to tell without more information. For what it's worth, the AjaxControlToolkit DLL does NOT need to be in the GAC.
Well, I'm getting the same error, and so far none of the suggestions have worked. I have a rather large web app that worked fine this morning, but then I upgraded to ASP.NET AJAX 1.0 and now this app gives me this same error. There is only one mention of
AjaxControlToolkit in the entire application, on a page in a subdirectory off the main site, but I'm getting this error when I try to go to ANY page on the site. The reference is this:
I've got the AjaxControlToolkit.dll file in my Bin folder, and I've re-added it a couple times, and then updated the reference, but no joy. I'm not sure what else to do.
One interesting thing that's happening is, I've deployed this app to our development server and it runs fine - no errors, even on the page that references the assembly. However, the development server has NOT yet been upgraded to ASP.NET AJAX 1.0. This
error only happens on my local instance... So it appears to be related to the new AJAX release, not the AjaxControlToolkit assembly (I do have the most recent release of the ACT on the dev server in my Bin directory)...
If anyone has any other ideas for how I might get this working, please reply!
I tried what you suggested, but I still get the same error. I did try installing it to the GAC, but I get an Access denied error there as well:
"Failure adding assembly to the cache: Access denied."
This is an app that I am constantly updating and re-publishing to the site, so it's got me very concerned since I have to launch a new version of it next week... PLEASE, if anyone can tell me how to resolve this, let me know - I am DESPERATE.
Could you try installing the RTW version of ASP.Net AJAX and the new toolkit which released yesterday? I think this may be because your installation may not have been successful.
Kirti Deshpande
Program Manager, Silverlight and ASP.NET AJAX
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
john@seedpro...
Member
140 Points
28 Posts
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied...
Nov 08, 2006 09:18 PM|LINK
I just installed AJAX Beta 2 and the updated AjaxControlToolkit. I'm getting this error when I try to access the site. Any Ideas?
Stack Trace:
AjaxControlToolkit
rb_jlm
Member
50 Points
10 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Nov 09, 2006 12:49 PM|LINK
You probably need to do one of the following:
1. Make the assembly copy local.
2. Put the assembly in the GAC.
john@seedpro...
Member
140 Points
28 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Nov 09, 2006 02:41 PM|LINK
Thanks
The solution that worked for me was I had to change my permissions on the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files folder. That corrected the issue!
rb_jlm
Member
50 Points
10 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Nov 09, 2006 03:11 PM|LINK
David Anson
Star
8728 Points
1847 Posts
Microsoft
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Nov 14, 2006 09:59 PM|LINK
http://dlaa.me/
http://blogs.msdn.com/b/delay/
This posting is provided "AS IS" with no warranties, and confers no rights.
eappell
Member
491 Points
268 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Jan 23, 2007 09:45 PM|LINK
I've got the AjaxControlToolkit.dll file in my Bin folder, and I've re-added it a couple times, and then updated the reference, but no joy. I'm not sure what else to do.
One interesting thing that's happening is, I've deployed this app to our development server and it runs fine - no errors, even on the page that references the assembly. However, the development server has NOT yet been upgraded to ASP.NET AJAX 1.0. This error only happens on my local instance... So it appears to be related to the new AJAX release, not the AjaxControlToolkit assembly (I do have the most recent release of the ACT on the dev server in my Bin directory)...
If anyone has any other ideas for how I might get this working, please reply!
Thanks,
eddie
Chris Porter
Member
8 Points
6 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Jan 23, 2007 10:52 PM|LINK
eappell
Member
491 Points
268 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Jan 24, 2007 04:12 PM|LINK
I tried what you suggested, but I still get the same error. I did try installing it to the GAC, but I get an Access denied error there as well:
"Failure adding assembly to the cache: Access denied."
This is an app that I am constantly updating and re-publishing to the site, so it's got me very concerned since I have to launch a new version of it next week... PLEASE, if anyone can tell me how to resolve this, let me know - I am DESPERATE.
Thanks,
eddie
eappell
Member
491 Points
268 Posts
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Jan 24, 2007 04:33 PM|LINK
One more thing... If I open up the Sample website from the AjaxControlToolkit and try to compile I get the same error:
Error 1 Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied.
So this seems to be a system-wide error. I re-ran the installation of the 1.0 extensions (repair) and the CTP, but no luck...
kirtid
Contributor
2610 Points
658 Posts
Microsoft
Re: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is de...
Jan 24, 2007 06:10 PM|LINK
Program Manager, Silverlight and ASP.NET AJAX
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.