Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > 'ScriptManager' does not exist in the namespace 'System.Web.UI'

Thread Tools

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

Posts: n/a
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?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CS0103: The name 'dsSchedule1' does not exist in the class or namespace 'ASP.schedule_aspx' ASP .Net 3 02-06-2007 10:19 PM
ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (are you missing an assembly reference?) ASP .Net 0 01-06-2006 11:31 AM
Does my object exist? So why its HWND doesn't exist? That's a question... (CMonthCalCtrl control) LT C++ 7 07-25-2004 07:08 PM
Namespace does not exist in VS-generated code John Spiegel ASP .Net 2 04-16-2004 03:00 PM
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist. ASP .Net 1 07-29-2003 04:31 PM