I am getting strange exception which seems to me is related to WCF configuration object but what is wrong is completely unclear to me
A first chance exception of typ
Looks like a lot of other people have solved this problem just by disabling breaking on this exception - see here, here, here and here, for example. Nobody seems to have any idea what use this exception is, though.
I should add that I had to add the exception manually to my Debug/Exceptions list - it didn't appear by default.
I was able to fix this issue by deleting everything in the bin folder and rebuilding the solution.