Join our team, we're recruiting Contact us on: +44 (0)121 3145 374

The Site Doctor Blog

Footprints in the snow of a warped mind

< Back to Blog

Web.Config, Visual Studio and Intellisense Issues

I’m not sure how many people this applies to but a while ago I found I was loosing VS2005 IntelliSense when I was working in my web.config. More specifically I lost IntelliSense after editing any of the site’s settings using the Web Site Administration Tool in ASP.Net 2.0.

I quickly realised that the issue was being caused because the Web Site Administration Tool updates the root element (<configuration>) of your Web.Config file to include an attribute of “xmlns”. If you’re loosing IntelliSense, just delete the attribute and you’ll have it back in a tick :)

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Should be:

<configuration>

p.s. Yes Doug, I can already hear you crying out “Not for me –I don’t use VS*yawn*

Author: Tim on

Liked this post? Got a suggestion? Leave a comment