Could not load file or assembly

I've deployed a web site to two different servers. On one of them, I
get a message that a supporting dll could not be loaded.

The Assembly Load Trace shows what appears to be the attempt to
download the dll from the web site's bin folder to the 'Temporary
ASP.NET Files' folder, and then

ERR: Failed to complete setup of assembly....


On my other server, everything works fine (both servers Win2003, and
simply copied in folders and set up a virtual directory in IIS)

Ideas?
jhcorey [ Di, 11 September 2007 19:37 ] [ ID #1817258 ]

Re: Could not load file or assembly

Thank U Sir,
It works ::))

Now I have one more issue.
I have downloaded Ajax frame work and in the toolbox I am getting AJAX
Extention in which i find the Script manager.
Bit,in the design form I am not getting this part of the tag..
<ajaxToolkit:ToolkitScriptManager
I also added AjaxControlToolkit.dll in the bin directory.


"David R. Longnecker" wrote:

> That's the original Microsoft AJAX Framework 1.0 You can download here:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9 d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en
>
> Are you running Visual Studio 2008 with AJAX 3.5? If so, you could *try*
> reversioning the assembly. Change the 1.0.61025.0 to 3.5.0.0 and give it
> a shot. Most everything works between the versions, so it'd be worth a shot.
> :)
>
> You can double check what versions of assembly files you have loaded in the
> GAC by going to Start > Run > assembly (no quotes, no exe, etc), then browsing
> down to System.Web.Extensions.
>
> HTH.
>
> -dl
>
> --
> David R. Longnecker
> http://blog.tiredstudent.com
>
> > I have downloaded the project from
> > http://mattberseth.com/blog/2007/10/theming_the_ajaxcontrolt oolkit.htm
> > l. When i built and run athe application i get the error
> >
> > Could not load file or assembly 'System.Web.Extensions,
> > Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
> > or one of its dependencies. The system cannot find the file specified.
> > C:\Documents and Settings\mansoor\My Documents\Visual Studio
> > 2005\Projects\calendar_theme\web.config 30.
> >
> > In web.config
> > <add assembly="System.Web.Extensions, Version=1.0.61025.0,
> > Culture=neutral,
> > PublicKeyToken=31bf3856ad364e35"/>
> > How do i solve this.
> >
> > Thanks.
> > Jinga
>
>
>
iHavAQuestion [ Fr, 11 April 2008 17:55 ] [ ID #1940205 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Could not load file or assembly

Vorheriges Thema: ASP.Net Membership & Roles Using MySQL- Basics Needed.
Nächstes Thema: Web application