473,785 Members | 2,794 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Web.Exte nsions 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.Ext ensions,
Version=1.0.610 25.0, Culture=neutral , PublicKeyToken= 31bf3856ad364e3 5' 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 1852
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.exte nsion

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
4964
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 webserver runs that part of the script (see attached file, snippet.php), though, it doesn't go through. I don't get an error message or anything...it just returns a "1" (whereas it should return a "0") as far as I can tell. I have read the PHP...
8
1836
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 in '/' Application. ---------------------------------------------------------------------------- ----
1
4372
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 this??): System.Diagnostics.Trace.WriteLine(System.DateTime.Now.ToLongTimeString()+ "--" + dirException.ToString()); System.Diagnostics.Trace.Flush(); ((System.Diagnostics.TraceListener) System.Diagnostics.Trace.Listeners).Close();
6
14567
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 server. I am able to log in. However after publishing the page to my local IIS, it results in the below error. This error is occurring on the Visual Studio.Net 2k5 release version, but did not occur on the beta 2, same code. A point of interest, is...
2
20847
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. Security Exception Description: The application attempted to perform an operation not
12
2072
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 present working directory.Am having certain doubts about this program.
2
151660
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 application, which contains a button and a label. When the button is clicked, some message is shown on the label. That's it. The AJAX works great on my development machine, but on the production server, I got the typical error as follows:
0
6363
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 destination** Hi all, Wondering if anyone can help me out with an assemblies problem I'm having.
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10329
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10092
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.