Solved

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

Posted on 2008-09-30
4
592 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
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…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

839 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