Tuesday, April 23, 2013

asp.net Error: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies

The complete error statement:
Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect.

Happens when your computer freezes while running the debugger. Now every time you run this particular web application you will get this error.

Fix
Simply deleting the related files in the following folder:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

Also if you are using .net framework 4 you need to delete all the files in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

You may need to change your folder Options to view Hidden and Operating System Files. 

No comments:

Post a Comment