![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Microsoft.ServiceModel.Samples stopped working in a .exe host I just started exploring the WCF and love it so far but for the past 6-7 hours got stuck with this problem: my service and going back to the MSDN samples hosted in an .exe stopped working. The services starts with no exceptions but I cannot connect to it - the browser and svcutil cannot find it and sure enough netstat does not show anything listening on my port. It used to work. I ran netsh to enable the ports, etc. - no luck. Here is my app.config: Code Snippet <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <services> <service behaviorConfiguration="CalculatorServiceBehaviorDebug" name="Microsoft.ServiceModel.Samples.CalculatorService"> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="" contract="Microsoft.ServiceModel.Samples.ICalculator" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://localhost:8910/ServiceModelSamples/service" /> </baseAddresses> </host> </service> </services> <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true--> <behaviors> <serviceBehaviors> <behavior name="CalculatorServiceBehavior"> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="False" /> </behavior> <behavior name="CalculatorServiceBehaviorDebug"> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="True" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration> And here is part of the output from netsh: Code Snippet Reserved URL : http://+:8910/ User: VTMELAMED\Valo Listen: Yes Delegate: No SDDL: D A;;GX;;;S-1-5-...)Reserved URL : http://+:8910/ServiceModelSamples/ User: VTMELAMED\Valo Listen: Yes Delegate: No SDDL: D A;;GX;;;S-1-5-...)My understanding is that the second entry would be unnecessary but I did it anyway... Can you please help? Thank you Val |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Host Process has stopped working | Vista General | |||
| Host process has stopped working | Vista General | |||
| HP DCS Device Host has stopped working | Vista print fax & scan | |||
| Host Process stopped working???? | Vista General | |||