Freigeben über


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

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.

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

Comments

  • Anonymous
    January 17, 2007
    Do they pay you to make fun of Google?  It's quite immature to take advantage of every opportunity to poke fun at the search company and it really makes you loose credibility --especially considering the superiority of Google over MSN Search. At any rate, thank you for the information.  It might come in useful some day.

  • Anonymous
    January 17, 2007
    The comment has been removed

  • Anonymous
    January 17, 2007
    Whoa - did you say Release Version? Where and when can we get our hands on RTM?

  • Anonymous
    January 17, 2007
    There have been a number of release candidates : ) I'm working with an internal build (meaning all the demos that I build with it should work with the RTM build) and we are quite close to final release.

  • Anonymous
    January 20, 2007
    The comment has been removed

  • Anonymous
    January 23, 2007
    The AJAX RTM has been released today! Do you have any idea when you will update AJAX videos on the website. The videos are still for the Beta version of ASP.NET AJAX. [Joe Said] Thanks John, I'm wrking on the now, final versions for all the bate videos will be posted in the next few days.

  • Anonymous
    April 20, 2007
    The comment has been removed

  • Anonymous
    June 19, 2007
    The comment has been removed