This blog has, IMO, some great resources. Unfortunately, some of those resources are becoming less relevant. I'm still blogging, learning tech and helping others...please find me at my new home on

Wednesday, December 16, 2009

VS 2010 – Validation Warnings in ASP.NET

I was getting a whole host of errors on even the simplest of web pages or components (aspx or ascx) in Visual Studio 2010 Beta 2.

Validation (): Element 'content' is not supported.


Validation ($SCHEMA$): Element 'div' is not supported.

…and others.  Basically, all ASP.NET controls and all HTML tags were not validating.  Here’s a shot from a simple page with about 30 controls on it:


The Perils of First Place

It turns out that there was a bug with the user settings from earlier betas of Visual Studio 2010.  When you are an early adopter you sometimes have to eat the weird situations of non-workingness.  Removing the older IDE would leave behind some zombies that attacked the recognition abilities of Beta 2, thus generating loads of validation warnings.

The webdevtools folks published an article on this which helps.  They don’t mention the zombies, but I’m pretty sure they are there.

To get around the problem, simply run Tools –> Import and Export Settings and reset everything.  Unless you are particularly attached to something in your user settings don’t bother saving what you currently have.  It takes a few moments to reset the IDE…image

…and then you’re done.



  1. GREAT - It worked for me!!! PERFECT - thnx

  2. Hi,

    I happened to see your post and find it quite informative. I wanted to share a link where a software engineer has shared a tip on "Warning the user before leaving the page" in ASP.Net.

    Here is the link:

    Hope you find it useful and of assistance.

    Thanks for sharing a good post.

  3. thanks for the link...but I have no idea what the relationship is to my post?!

    you pass my turing test...this is a sophisticated way to spam if you're just promoting your blog ;o)


  4. Srry dude.. I m getting the same warning done with resetting multiple time in VS 2010 Professional !!