Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 22, 2010 01:01 PM by ravishr
Mar 30, 2008 10:48 PM|LINK
Everything was fine for about a week. Today my computer crashed during development and since then I am getting the following message
Error 9 Could not load file or assembly 'AjaxControlToolkit, Version=3.0.20229.20843, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I refreshed the AjaxToolkit.dll in my project bin file. Reset the toolbox and added 'AjaxToolKit' again still when I add a new web form
this line has a blue squiggle line under it and I can not compile project anymore.
Any ideas, newbie
Mar 30, 2008 11:21 PM|LINK
I love googling things for people! :)
This guy has ur exact same error and a proposed solution. (That same solution fixes most bizarre inexplicable web project build errors)
Mar 31, 2008 02:10 AM|LINK
Thank you for your reply. I am running VS 2008 with .Net 3.5 and I don't have a Temporary ASP.Net file at this location C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files nor any other location on my computer. I delete all the newly created
pages and the project compiles but any new page I add to the project has the error described in my first post. What to do, what to do??? Newbie
Mar 31, 2008 03:14 AM|LINK
No Temporay ASP.Net files directory? It must be there somewhere. As far I know you will have this folder regardless of the .net version you are using.
For me it's:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
My web app is set to target v3.5. I can still see temporary files for my 3.5 app being created in the 2.0 folder. Theres no other Temporary ASP.NET files folder.
Try searching for Temporary ASP.Net Files and re-check your path. Is any part of the directory tree there? Do you have a Microsoft.Net folder?
I've never seen a machine (running asp.net 2.0+) without a temporary asp.net files folder... i'm pretty sure it's always there. Can someone else confirm this?
Mar 31, 2008 04:59 AM|LINK
I have Repaired/Reinstalled VS 2008. Uninstalled and reinstalle Ajax Extension 1.0. I looked for the Temporary ASP.Net folder again, it is not there, I searched my harddrive nothing was found. The strange thing is I add a new web form to my project and I
get this error. I don't even have any Ajax controls on the form. When I add some ajax controls it does not know about them. Read on the forums but nothing worked for me so far. Short of uninstalling the whole machine and reinstalling, I don't know what to
make of it. My machine crashed in the afternoon durning development, after that the error accourd. I am running Vista Ultimate and VS 2008.
this is all the code that I have in the page. First line has blue squiggle line under it. Here is the error message again - Warning 1 D:\_SYL_Project\Projects\ShareYourLoss\ShareYourLossWeb\Default2.aspx:
ASP.NET runtime error: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) D:\_SYL_Project\Projects\ShareYourLoss\ShareYourLossWeb\Default2.aspx 1 1 D:\...\ShareYourLossWeb\
Mar 31, 2008 05:51 AM|LINK
Ok. Sorry mate, i dunno (though it's really freaky how u don't that folder). It seems something has gone wrong at a higher level. Might be time to use up some of the MS support minutes.
My parting suggestion would be to smother ur computer in the ajaxcontroltoolkit binary (hey also check ur version numbers - original msg had a version number in it) by installing it in the gac, and in your project's bin folder.
Is it in ur toolbox? Try taking it out... it's like the ide on the fly compiliation is failing. If you build or publish the website do you get the same message? Does it have any more details?
Jul 11, 2008 01:54 AM|LINK
I get the same error when I try to publish my website.
I'm running Vista and I also had no "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" folder, but I found "C:\Users\DellUser\AppData\Local\Temp\Temporary ASP.NET Files". Using Windows search didn't find the folder, I just stumbled
upon it. Clearing the folder contents allowed me to publish the website without the "can't load file or assembly" error.
Apr 03, 2010 08:56 AM|LINK
In Windows 2003 server
goto this location
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
and clear all files before you close u r VS2008
Jun 22, 2010 01:01 PM|LINK
I too faced the same issue...after searching I found that there is a "Temporary ASP.NET Files" folder in the temp directory (It also exists some times in the framework folder). Clearing all the files from the "Temporary ASP.NET Files"
folder inside the temp folder did the trick for me. You can go into this folder by : START>>RUN>>and then type
0x80070057 E_INVALIDARG in VS 2008