Self hosting WCF
Hi!
Here a sample to work with WCF on LINQPad, it throws a CommunicationObjectFaultedException exception, using VS2010 it works:
http://linqpadsamples.codeplex.com/wikipage?title=Self%20hosting%20WCF
Do you know how to fix?
Thanks,
Matteo.
Here a sample to work with WCF on LINQPad, it throws a CommunicationObjectFaultedException exception, using VS2010 it works:
http://linqpadsamples.codeplex.com/wikipage?title=Self%20hosting%20WCF
Do you know how to fix?
Thanks,
Matteo.
Comments
-
When I created a Console project in VS2010 and pasted in your code, I got the same error that I got in LINQPad:
CommunicationObjectFaultedException
The communication object, System.ServiceModel.Security.SecuritySessionClientSettings`1+ClientSecurityDuplexSessionChannel[System.ServiceModel.Channels.IDuplexSessionChannel], cannot be used for communication because it is in the Faulted state. -
Sorry for the delay, I activated the email notifications now
.
I launched LINQPad as administrator and works.
I tried to write my "sample":
http://linqpadsamples.codeplex.com/wikipage?title=WCF%20testing%20environment
And also MSDN example:
http://linqpadsamples.codeplex.com/wikipage?title=Self%20hosting%20WCF