ASP.NET Error Resolution

Man I love how Microsoft makes me spend needless hours fixing weird oddities. My latest one was the following WinXP error:

The site [site] has not been configured for use with ASP.NET 2.0. Microsoft Visual Studio has been designed for use with ASP.NET 2.0. If not configured some features may make incorrect assumptions, and pages designed with the tool may not render correctly. - Would you like the site to be configured now?

A Google search returned some hits but nothing worked. I finally resolved the issue by using the following set of commands (within the Framework\ directory):

aspnet_regiis -ua
aspnet_regiis -i

If that fails - make sure the Default Site is configured for ASP.NET and run through the permissions wizard. Note, the above commands probably kills .NET 1.1.

Take care!

0 comments :: ASP.NET Error Resolution