Solved

What is going on!!!! Global.System.Web.UI.ScriptManager Error 696 Type 'System.Web.UI.ScriptManager' is not defined.

Posted on 2007-04-04
4
700 Views
Last Modified: 2012-08-14
Ok, I thought yesterday this was a problem with VS 2005.  I properly installed the AJAX framework 1.0.  Updated the web.config.

The stupid designer file for my aspx keeps complaining about both the ScriptManager control and all UpdatePanel controls I threw onto the page and so when I try to build, it keeps giving me this!

Type 'System.Web.UI.ScriptManager' is not defined.

Type 'System.Web.UI.UpdatePanel' is not defined.

 When I thought this problem was just a bug, I had done the following and it just quietly for no reason went away, but not it's back.  Here's what I did yesterday to get this stupid crap to quit complaning:

 1) I had both the aspx & it's designer.vb file open in VS 2005

2) I tried taking those controls out and readding them.  As I look at the designer, it is changing dynamically as it should with each change to my aspx

3) After 2 hours of this crap, and still getting these errors, I said hmm, let me close VS....a collegue said he had been getting this weirdness also in other stuff he was coding after moving back to this new team at corporate.  Maybe it's their code but right now, my code looks great!

 4) After I reopened VS, the stupid errors went away

 Today I was working for half the day on the same files and others.  All of a sudden, I go get coffee.  The last change I did was to add a ../ in an absolute path to a CSS link inside my aspx.  I swear that's it.  I come back, try to build and WAM!
0
Comment
Question by:dba123
4 Comments
 
LVL 27

Expert Comment

by:Sammy
ID: 18855870
when you created your site did you choose ASP.NET AJAX-Enabled Web Site?
if you dont do it that you will get nothing but major headaches from VS.NET and Ajax in general
0
 
LVL 1

Accepted Solution

by:
dba123 earned 0 total points
ID: 18891555
of course...the webconfig is all ajax enabled.  I copied all the stuff form the ajax enabled website that I created into my app.

it's working now, I deleted some .cache files or whatever and it works...who knows...I had not only problems with this but other non-ajax controls and the designer files complaining for no good reason.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question