PC Review


Reply
Thread Tools Rate Thread

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

 
 
Krip
Guest
Posts: n/a
 
      16th Aug 2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
type or namespace name 'MessageBox' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) mp Microsoft C# .NET 8 18th Dec 2010 06:55 AM
The type or namespace name 'Generic' does not exist in the class or namespace 'System.Collections' pantagruel Microsoft C# .NET 1 23rd Oct 2007 01:07 AM
The type or namespace 'Installer' does not exist in the class or namespace 'System.Configuration' John Chrisman Microsoft C# .NET 2 19th Nov 2005 12:24 AM
The type or namespace name 'Windows' does not exist in the class or namespace 'System' (are you missing an assembly reference?) =?Utf-8?B?UmF5?= Microsoft Dot NET 1 7th Apr 2004 11:30 PM
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist. Èý¹â Microsoft ASP .NET 1 29th Jul 2003 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.