Search

Locations of visitors to this page

Categories

On this page

ConfigurationErrorsException: This element is not currently associated with any context

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 50
This Year: 6
This Month: 1
This Week: 1
Comments: 69

Sign In

 Sunday, April 06, 2008
Sunday, April 06, 2008 10:49:28 AM (GMT Standard Time, UTC+00:00) ( )

Sometimes when debugging WCF code you might get this strange exception. In normal situations this exception is handled by WCF api and never reaches your code. If however if you have configured VS to report exception as they are thrown, WCF api never gets the chance to deal this exception.

A simple fix is to uncheck the setting for "break when an exception is thrown".

On Debug menu, select Exceptions... & uncheck the circled option.

 

Comments [1] | | #