I have a WCF web application that uses the WCF class library. My project is a WCF web project, and I'm hosting myself.
My problem is that all my web service methods hang with:
And "Unable to automatically go to the server ... etc.".
Error (not very useful):
The operation has timed out
When I call the same method (s) using the WCF test client, I get the correct answer and everything goes smoothly.
So, something is wrong with my web application.
Following a similar entry, I used the trace viewer. I get an error message:
The message with To 'http://localhost:8731/Design_Time_Addresses/Authentication/mex/mex' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver EndpointAddresses agree.
After reading the related post, I tried to add:
[ServiceBehavior(AddressFilterMode=AddressFilterMode.Any)]
And recompiling my class library and updating my services to no avail ... still freezes.
I tried to add both my web service and my web project as launch projects, but I still cannot enter the code. I also have all the relevant DEBUG attributes in Web.config and App.config.
Are there any suggestions?
Peter source share