Solved

Getting a System.Web.Extensions error when pushing an AJax site to a windows 2008 server.

Posted on 2008-09-30
4
589 Views
Last Modified: 2008-10-02
I am trying to teach myself Ajax right now.  I am using VS 2008.  Locally on my Computer everything works.  But when I try and push the site to my test box which is a windows 2008 server I get this error:

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.

I looked at the stack trace and is says it can not find the file specified.  I don't know if this is a server issue or a webconfig file issue.

Thanks,

Gabicus
0
Comment
Question by:GabicusC
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Gyanendra Singh earned 250 total points
ID: 22612324
I am sure you must have old version of ajax toolkit .. do one thing remove ajax toolkit and install ajax toolkit for framework 3.5 and test ...
0
 
LVL 22

Assisted Solution

by:prairiedog
prairiedog earned 250 total points
ID: 22615098
Make sure you have installed AJAX library on your production server. If you don't have the library installed, or can't have it installed, then you will have to have the library (.dll) in your bin folder.
0
 

Author Comment

by:GabicusC
ID: 22617748
Thanks BondinASP and prairiedog,

I just installed the "ASP.NET in .NET 3.5 Service Pack 1" on the 2008 server which fixed the issue I was having.

Gabicus
0
 
LVL 22

Expert Comment

by:prairiedog
ID: 22617817
Great. .NET 3.5 by default already included AJAX library so you don't need to install AJAX library.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now