473,804 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'ScriptManager' does not exist in the namespace 'System.Web.UI'

When adding ASP.NET AJAX 1.0 ScriptManager and UpdatePanels to some pages in
our Web Application project, we get the following error:

"The type or namespace name 'ScriptManager' does not exist in the
namespace 'System.Web.UI' (are you missing an assembly reference?)"

This error occurs on the declaration of ScriptManager and UpdatePanel
objects automatically generated in the .designer files. There is no problem
for pages we ported over from ASP.NET 1.1 (where no .designer files exist) -
those compile and work fine. The issue is only with new pages added that
have .designer files. If we comment out the declarations, the web project
compiles fine. Otherwise it reports the above error.

I have added web.extensions assembly to both web.config file and explicitly
as a Reference.

How do we get rid of this error so we don't have to keep manually editing
the .designer files?

Thanks

Aug 16 '07 #1
0 3976

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

Similar topics

2
1814
by: John Spiegel | last post by:
Hi all, I used wsdl.exe to create a proxy class that I'm now trying to access from a page. When building the project, the using command in the codebehind: using System.Web.Services.Protocols; is indicating: "The type or namespace 'Services' does not exist in the class or namespace
1
11581
by: =?Utf-8?B?dGhlamFja29mYWxs?= | last post by:
Please help. I am getting the following error when I attempt to use AJAX in a web page. <%@ Page Language="C#" MasterPageFile="~/Master/Master1.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="MyApp_Default" Title="Space" %> <%@ Register TagPrefix="ajaxToolkit" Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" %>
3
1258
by: tshad | last post by:
I get the following error: PageInit.cs(43,71): error CS0246: The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?) The error is from the last line in this snippet of code ***************************************** using System; using System.Web;
2
2030
by: jparulan | last post by:
Hi All, I am developing web service that does not use IIS, I was successful on deploying a normal web service with System.Data and System.Web namespaces. BUT when I added the System.Messaging and deploy my windows service - I am getting this error while accessing the ASMX test form * I have tried the following already. 1. Remove and Add the System.Messaging from "Reference" 2. System.Messaging does exist from the GAC.
2
16463
by: shalong | last post by:
Hi all, VS 2008 is complaining that HttpWebRequest class is not in System.Net namespace I have referenced System.Net and have coded "using System.Net" I think its a setup problem rather than a coding error The type or namespace name 'HttpWebRequest' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) C:\Documents and Settings\user\My Documents\Visual Studio...
0
1822
by: suganya | last post by:
Hi I have written the code for Atlas ModalPopup Control . The code is as follows <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
2
4894
by: abcd | last post by:
II have a asp.net application that using .NET framework 2.0. I use VS 2005. I opened VS 2008 and upgraded all the proejcts to .NET 3.5. My applicaiton has a code as below which is giving me error...any clues how to fix that... Parser Error Message: The base class includes the field 'ScriptManager', but its type (System.Web.UI.ScriptManager) is not compatible with the type of
2
6805
by: sushilkaushik | last post by:
In my VC++ project (using Visual Studio 2005) I have two DLLs : CommonClasses.dll and CheckIn.dll I added both of them in exactly the same way. First, CommonClesses and then CheckIn, using Project->References Added the header files from both the DLLs into my project. Set the Include_Dir and Reference_Dir to the header file and DLL location respectively. I have this in one of my project file: #include "Helpers.h" // from...
1
2527
by: Yan | last post by:
Hi, I'm apparently far from being the 1st one to meet this error... My asp.net ajax page requires ScriptManager.axd but gets a 404. following a lot of "This is how I solved it" posts, I : - checked my web.config (copied below) - re-installed the ajax.net extensions - ran aspnet_regiis my application
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
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...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
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
10074
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...
0
9138
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
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
2983
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.