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.


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

Comments (8)

  1. Sean says:

    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.

  2. JoeStagner says:

    Is there a rule or somthing that in order to be a Google Nut Hugger you need to abandon you sense of humor ?? 🙂

  3. James says:

    Whoa – did you say Release Version? Where and when can we get our hands on RTM?

  4. JoeStagner says:

    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.

  5. Scott Manny says:

    Ah, this helps a lot.  But please no more poking fun at google, you were completely out of line there 🙂

  6. John says:

    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.

  7. jmcgerigle says:

    Joe,

    I enjoyed your concise training video on the autocompleteextender. Works great, but I’m not having much success when placing it on a Master Page. No jj error, nothing is thrown. I only get an ajaxless textbox. I’m running the Jan release (1.0) of the Toolkit.

    I’ve searched on-line but no success. Any advise on what one can do to get your code to work w/MPs? Or if this was a bug that has been addressed in the Futures CTP?

    Jim/Boston

  8. Geoff says:

    Honestly.. M$ search is a joke… I understand pushing the company line but to bash the only viable search engine… if it werent for Google I wouldnt be able to get ANY M$ scripts to work!