Groups > Asp .Net > ASP.NET Installation and setup > Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'




Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'

Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'
Sun, 30 Mar 2008 23:21:43 +000
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)

http://ranafaisal.wordpress.com/2008/03/24/could-not-load-file-or-assembly-ajaxc
ontroltoolkit-or-one-of-its-dependencies-the-parameter-is-incorrect-exception-fr
om-hresult-0x80070057-e_invalidarg/
Post Reply
VS 2008 can't load file or assembly 'AjaxControlToolkit'
Mon, 31 Mar 2008 01:48:37 +000
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

<%@PageLanguage="C#"MasterPageFile="~/Main.master"AutoEve
ntWireup="true"CodeFile="TestMSNSearch.aspx.cs"Inherits=&quo
t;TestMSNSearch"Title="Untitled Page" %>

this line has a blue squiggle line under it and I can not compile project
anymore.

 Any ideas, newbie
Post Reply
Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'
Mon, 31 Mar 2008 05:10:56 +000
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
Post Reply
Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'
Mon, 31 Mar 2008 06:14:29 +000
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?
Post Reply
Re: VS 2008 can't load file or assembly 'AjaxControlToolkit'
Mon, 31 Mar 2008 07:59:46 +000
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.

New Page

<%@PageLanguage="C#"MasterPageFile="~/Main.master"AutoEve
ntWireup="true"CodeFile="Default2.aspx.cs"Inherits="Def
ault2"Title="Untitled Page"
%><asp:ContentID="Content1"ContentPlaceHolderID="DefaultMas
terPageContentPlaceHolder"Runat="Server">

</asp:Content>

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\
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact