hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : ASP.NET Could not load Assembly
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

ASP.NET Could not load Assembly

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-20-2010, 01:03 PM
praveenkv1988 praveenkv1988 is offline
Web Hosting Evangelist
 
Join Date: Sep 2008
Posts: 544

ASP.NET Could not load Assembly


I am using Windows Server 2008, with IIS7.

Getting the following message.

=========================================
Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
=========================================

Plz. help.

Reply With Quote


Sponsored Links
  #2  
Old 01-20-2010, 01:24 PM
Mike Johnson Mike Johnson is offline
Web Hosting Evangelist
 
Join Date: Jun 2009
Location: California
Posts: 508
Do you have your web.config setup properly? For example:
Code:
<assemblies>
	<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
	<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
	<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
	<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
and

Code:
<system.webServer>
  <validation validateIntegratedModeConfiguration="false"/>
  <modules>
	<remove name="ScriptModule" />
	<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  </modules>
  <handlers>
	<remove name="WebServiceHandlerFactory-Integrated"/>
	<remove name="ScriptHandlerFactory" />
	<remove name="ScriptHandlerFactoryAppServices" />
	<remove name="ScriptResource" />
	<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
		 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
	<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
		 type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
	<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  </handlers>
</system.webServer>
You could also check to make sure the DLL is actually in the GAC.

Reply With Quote
  #3  
Old 01-20-2010, 01:30 PM
praveenkv1988 praveenkv1988 is offline
Web Hosting Evangelist
 
Join Date: Sep 2008
Posts: 544
I found System.Web.Extensions not there in "C:\WINDOWS\assembly"

How can I install that?

Reply With Quote
Sponsored Links
  #4  
Old 01-20-2010, 01:48 PM
Mike Johnson Mike Johnson is offline
Web Hosting Evangelist
 
Join Date: Jun 2009
Location: California
Posts: 508
Have you not installed the .NET Framework feature?

http://www.microsoft.com/downloads/d...displaylang=en

Reply With Quote
  #5  
Old 01-20-2010, 02:07 PM
praveenkv1988 praveenkv1988 is offline
Web Hosting Evangelist
 
Join Date: Sep 2008
Posts: 544
Thank you. Its working. I was using old version. Just now updated it through your link.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP / Mono v2 (Could not load file or assembly 'FreeTextBox) AquariusStorage Hosting Security and Technology 5 08-16-2009 11:41 AM
UNLIMITED ASP.net/Windows Reseller only $39.95 or asp.net w/FREE sql2005 from $7.96 appliedi Shared Hosting Offers 0 01-07-2007 03:48 PM
IHostASP.NET - Huge ASP/ASP.NET & MSSQL2K Hosting Sale!!! GrindKore Shared Hosting Offers 0 05-15-2005 10:05 PM
DicountASP.NET launches Obout Treeview ASP and ASP.NET Component dasp Shared Hosting Offers 0 06-11-2004 01:56 PM

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Application Delivery Optimization Firm KEMP Names Senior Director of Strategic Alliances Web Hosting News 2012-04-19 10:54:55
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?