473,396 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

System.Web.Extensions compilation error

I removed my VS 2008 beta installation and reinstalled the final version that
was released in November.
However, my ajax-enabled application gives the following error message on
compilation.

"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."

Any idea on how to fix this please?

Dec 6 '07 #1
4 1830
Hi,

Looks like you're trying to use VS 2008 to target ASP.NET AJAX 1.0 instead
of upgrading to use the built-in AJAX assemblyes in .NET 3.5. In this case,
you will need to follow the steps in this blog to make it work:

#Your Websites, Our Passion! : Using VS 2008 to target ASP.NET AJAX 1.0
http://blogs.msdn.com/webdevtools/ar...2008-to-target
-asp-net-ajax-1-0.aspx
On the other hand, Scottgu has another detailed blog on how to upgrade your
existing project to use the the 3.5 version:

#ASP.NET AJAX in .NET 3.5 and VS 2008 - ScottGu's Blog
http://weblogs.asp.net/scottgu/archi...-in-net-3-5-an
d-vs-2008.aspx
Hope this helps.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 7 '07 #2
Mr. Wang,

Also, my application did not ask the confirmation to upgrade the project.
I don't use the Ajax except to populate the grid. I mean I use very minimal
features.

--
test
""Walter Wang [MSFT]"" wrote:
Hi,

Looks like you're trying to use VS 2008 to target ASP.NET AJAX 1.0 instead
of upgrading to use the built-in AJAX assemblyes in .NET 3.5. In this case,
you will need to follow the steps in this blog to make it work:

#Your Websites, Our Passion! : Using VS 2008 to target ASP.NET AJAX 1.0
http://blogs.msdn.com/webdevtools/ar...2008-to-target
-asp-net-ajax-1-0.aspx
On the other hand, Scottgu has another detailed blog on how to upgrade your
existing project to use the the 3.5 version:

#ASP.NET AJAX in .NET 3.5 and VS 2008 - ScottGu's Blog
http://weblogs.asp.net/scottgu/archi...-in-net-3-5-an
d-vs-2008.aspx
Hope this helps.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 7 '07 #3
Mr. Wang,

Also, how can I know which version of Ajax I'm using?

--
test
""Walter Wang [MSFT]"" wrote:
Hi,

Looks like you're trying to use VS 2008 to target ASP.NET AJAX 1.0 instead
of upgrading to use the built-in AJAX assemblyes in .NET 3.5. In this case,
you will need to follow the steps in this blog to make it work:

#Your Websites, Our Passion! : Using VS 2008 to target ASP.NET AJAX 1.0
http://blogs.msdn.com/webdevtools/ar...2008-to-target
-asp-net-ajax-1-0.aspx
On the other hand, Scottgu has another detailed blog on how to upgrade your
existing project to use the the 3.5 version:

#ASP.NET AJAX in .NET 3.5 and VS 2008 - ScottGu's Blog
http://weblogs.asp.net/scottgu/archi...-in-net-3-5-an
d-vs-2008.aspx
Hope this helps.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 7 '07 #4
Hi,

First, please note that if you don't want to install separate ASP.NET AJAX
extension, you will need to use project type to target 3.5 framework to use
the built-in Ajax extension in Visual Studio 2008.

To find out if you have installed Ajax Extension 1.0, try to open a Visual
Studio 2008 command prompt and run following command:

gacutil /l | findstr /I system.web.extension

This should list the assemblies installed in GAC.

Since there's some changes from VS2008 beta version, a tip to find out
which config is needed in your web.config to enable AJAX extension is to
create a new web site (target 3.5 Framework) and check the generated
web.config, it has all the information you needed to enable AJAX.

Hope this helps.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 10 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
8
by: A P | last post by:
Hi! I'm using ASP.Net Web Matrix on my PC and wanting to publish the files to our server. I try to copy (thru explorer) the files but it didn't work! I receive Runtime Error: Server Error...
1
by: Patrick | last post by:
When Tracing in ASP.NET, the IIS process (on IIs5.1) is locking on the Trace file, and I can't read the trace file without restarting the IIS: Even the following does NOT work (how could I fix...
6
by: Tim Cartwright | last post by:
I have a page that has the login control on it, nothing else. This page inherits from a master page, neither page has any code in it. This page works perfectly when running on the WebDev debug web...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
12
by: sunil | last post by:
Hi All, Please have a look the below program #include<stdlib.h> int i = system("pwd"); I compiled the above program in UNIX ,it got compiled and executed with out any errors.It prints the...
2
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web...
0
by: Adam Salisbury | last post by:
**To members of microsoft.public.dotnet.framework, apologies for the crosspost. I originally posted this message into that group however have since realised this may have been a better...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.