MS AJAX Release Version- element [Anything AJAX] is not a known element.

by JoeStagner 1/17/2007 4:22:27 AM

Earlier this week I was re-writing Scott Guthrie’s ToDo List Atlas demo to work with the release version of MS AJAX and hit an ugly snag.

When using a master page (and ONLY when using a master page, the use of some AJAX controls produced the relatively useless [unknown element] error.

I searched and searched (I even tried Goggle) and found similar issues with Beta and RC versions of MS AJAX but I was using the latest bits and the solutions for the old versions were to use the ATLAS prefix. (A kludge.)

After doing my research I phoned ScottGu (Father of ASP.NET who hired me). It was about 10:00PM EST and Scott is commonly in the office in the evening.

Scott wasn’t in the office, but he “knows everything” so even though I didn’t ;leave a message he phoned me back about 15 minutes later.

I described my problem and, of course he had the answer off the top of his head.

1.) This is only an issue when you have been using an older CTP or Beta version of MS ATLAS and then updated to release bits.

2.) It happens because the schema that intellesence is cached on a per user basis so un-installers can’t really figure out what to un-install in this case because cache locations are not determined by the installer.

3.) HALF of the fix includes installing Service Pack 1 for Visual Studio 2005 / Visual Express

4.) The other half is to explicitly flush the Intellesence cache like this….

- With Windows XP you do this by deleting all files in this directory: c:\Document and Settings\[YourUserName]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas

- With Windows Vista you do this by deleting all files in this directory: c:\Users\[YourUserName]\AppData\Roaming\Microsoft\VisualStudio\8.0\ReflectedSchemas

5.) Restart Visual Studio

Scott’s blog post here has the details.

http://weblogs.asp.net/scottgu/archive/2006/12/15/asp-net-ajax-1-0-release-candidate-now-available.aspx

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Related posts

Comments

1/18/2007 5:28:42 AM

Thanks for this useful info Joe, But What are reflected schemas could you explain

Asif

1/18/2007 5:54:58 AM

Visual studio reflects on (lookks into and evaluates) schemas that are installed with AJAX and then stores a cache of that reflection on a per user basis

-Joe

Joe Stagner

1/18/2007 5:55:46 AM

Test

Bill Gates

1/18/2007 10:26:40 AM

Speaking of the Release Version, when is it currently scheduled to be released? We have been loving the features, but are not allowed to put it on production servers until it is an officially released product.

JRed

1/18/2007 12:02:50 PM

Release version? Where is it?

mike

1/19/2007 10:35:50 AM

Where can we get the release version of AJAX? (Not the RC)

Jorge

1/19/2007 2:29:26 PM

"re-writing Scott Guthrie’s ToDo List Atlas demo" where can download?

Jesse Zhao

1/19/2007 2:30:14 PM

i want to know where to download the re-writing Scott Guthrie’s ToDo List Atlas demo

Jesse Zhao

2/8/2007 8:36:02 PM

Release Ver:
http://ajax.asp.net/default.aspx?tabid=47

I am the newbie to learn the ASP.NET AJAX.

I have found that I can use the Control Toolkit in the local drive only. It
works in the debug mode.

However, it doesn't work in the other network drive where the code is
developed.

A website is created by Toolkit Template "AjaxControlToolkitWebSite1". The
error is "Element 'xxx' is not a known element". The "AjaxControlToolkit.dll"
is placed in the bin.

Any help would be much appreciated

Louis

3/1/2007 11:20:21 PM

oh my god, you are a lifesaver

gorman

5/24/2007 11:27:41 AM

This did not solve my problem. I am using the latest AJAX release, the latest toolkit release AND I have a fresh install of VS sp1 which has never seen the beta releases of ATLAS.

I still have the not a known element problem, however I can compile and run.
I can solve the problem by changing the extention from ASP to AJAX, but this is a pain. I can't believe it doesn't work after release still...

Doug

Powered by BlogEngine.NET 1.3.0.0
Theme by Mads Kristensen

About your host.

Name of author Joe Stagner
?????

E-mail me Send mail

Calendar

<<  August 2008  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

View posts in large calendar

Pages

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in