![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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 |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wmi providor host has stopped working and was closed | Ghost466 | Vista General | 1 | 02-08-2008 05:53 PM |
| WMI Provider Host stopped working and was closed | jj mac | Vista General | 8 | 11-30-2007 12:13 AM |
| HP DCS Device Host has stopped working | Tim | Vista print fax & scan | 2 | 06-10-2007 03:34 AM |
| Host Process stopped working???? | OpeXp | Vista General | 2 | 06-26-2006 04:11 PM |