This usually happens when you have application consuming WCF and you have errors in configuration file (web or app.config), either unclosed tags or mismatch tags.