We've been doing WCF apps for a while. Mostly web apps calling business objects/functionality in Windows Service hosted WCF Apps.
We recently ran into an issue, and have been banging our heads on it for a while.
The code works in Casini (VS2008's webserver), and from a test console app we wrote. But when we put the code in an aspx page, it just hangs.
No exception is being thrown.
When we remote debug the app, attaching VS2008 to the w3p process, we get an error pop box:
"An unhandled exception of type 'System.Configuration.ConfigurationErrorsException' occurred in mscorlib.dll
Additional information: This element is not currently associated with any context"
But it's not being caught by the try catch block.
We're using netTcpBinding (have tried pipe, but no luck as well)
The Service hosts multiple Contracts through different endpoints: