Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Microsoft.ServiceModel.Samples stopped working in a .exe host

 
 
Old 06-05-2007   #1 (permalink)
Valentin I. Melamed


 
 

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: DA;;GX;;;S-1-5-...)

Reserved URL : http://+:8910/ServiceModelSamples/
User: VTMELAMED\Valo
Listen: Yes
Delegate: No
SDDL: DA;;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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46