Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
743 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 27

Expert Comment

by:Sammy Ageil
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

609 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