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
698 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now