Post

VS2008 QFE Debugging on a WCF application

I got all excited today and downloaded and instaled VS2008 QFE (.net source code) and enabled debugging according to Shawn Burke’s blog and fired up a WCF server application I’m working on. The server is using the ServerHost class for hosting it. Much to my surprise I kept getting an ConfigurationErrorsException with the message : “This element is not currently associated with any context”. The application hadn’t changed for a couple of days and I have no configuration file as I define everything programmatically. The only thing I had done was to install QFE and enable Debugging.

Turns out that the “Enable just my code” option that I turned off to enable QFE debugging caused this. I haven’t really bothered to figure out why yet, just thought I’d blog the incident straight away.

This post is licensed under CC BY 4.0 by the author.