Click here to Skip to main content
15,891,787 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: ComboBox Items (Binding?) Pin
Jammer14-Jul-10 1:36
Jammer14-Jul-10 1:36 
GeneralRe: ComboBox Items (Binding?) Pin
seblake14-Jul-10 8:03
seblake14-Jul-10 8:03 
GeneralRe: ComboBox Items (Binding?) Pin
Jammer14-Jul-10 23:37
Jammer14-Jul-10 23:37 
QuestionToggleButton in datagrid Pin
Chris Hotchkiss11-Jul-10 6:28
Chris Hotchkiss11-Jul-10 6:28 
AnswerRe: ToggleButton in datagrid Pin
Jammer11-Jul-10 22:47
Jammer11-Jul-10 22:47 
AnswerRe: ToggleButton in datagrid Pin
sillvor12-Jul-10 11:56
sillvor12-Jul-10 11:56 
QuestionTab index not working properly with user controls Pin
dashingsidds10-Jul-10 2:37
dashingsidds10-Jul-10 2:37 
QuestionNo connection could be made because the target machine actively refused it Pin
Venkadeshbabu9-Jul-10 2:08
Venkadeshbabu9-Jul-10 2:08 
Hi All,

I am new to WCF. I have created a WCF Service and hosted it in Windows Service. I have got a below Error when tring to create Client Proxy for the service.

Error Message:

"There was an error downloading 'http://localhost:8051/Service1/'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8051
Metadata contains a reference that cannot be resolved: 'http://localhost:8051/Service1/'.
Could not connect to http://localhost:8051/Service1/. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8051.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 127.0.0.1:8051
If the service is defined in the current solution, try building the solution and adding the service reference again."

I have seen some posts related to Issue like unblocking the port in Firewall. I have unblocked all ports from Firewall, Still the Issue raising while create Client Proxy. Some one can help me on this Problem. I have Pasted my configuration file below.

<system.serviceModel>
<services>
<service name="WcfService1.Service1" behaviorConfiguration="WcfService1.Service1Behavior">
<!-- Service Endpoints -->
<endpoint address="" binding="wsHttpBinding" contract="WcfService1.IService1">
</endpoint>
<!--<endpoint address="" binding="netTcpBinding" contract="WcfService1.IService1"></endpoint>-->
<!--<endpoint address="mextcp" binding="mexTcpBinding" contract="IMetadataExchange"/>-->
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
<host>
<baseAddresses>
<add baseAddress = "http://localhost:8051/Service1/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="WcfService1.Service1Behavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>


Please reply me to solve this problem.
AnswerRe: No connection could be made because the target machine actively refused it Pin
Pete O'Hanlon9-Jul-10 2:34
mvePete O'Hanlon9-Jul-10 2:34 
AnswerRe: File Upload in Silver Light Pin
Abhinav S9-Jul-10 17:47
Abhinav S9-Jul-10 17:47 
QuestionWorking Out Which Controls are Within Points Pin
Jammer9-Jul-10 0:23
Jammer9-Jul-10 0:23 
AnswerRe: Working Out Which Controls are Within Points Pin
Pete O'Hanlon9-Jul-10 1:54
mvePete O'Hanlon9-Jul-10 1:54 
GeneralRe: Working Out Which Controls are Within Points Pin
Jammer9-Jul-10 2:39
Jammer9-Jul-10 2:39 
GeneralRe: Working Out Which Controls are Within Points Pin
Jammer9-Jul-10 3:37
Jammer9-Jul-10 3:37 
GeneralRe: Working Out Which Controls are Within Points Pin
Pete O'Hanlon9-Jul-10 3:50
mvePete O'Hanlon9-Jul-10 3:50 
QuestionWPF Navigation Frame Pin
Gretna7-Jul-10 22:55
Gretna7-Jul-10 22:55 
QuestionWPF : Print Page number on footer Pin
priyagee7-Jul-10 21:30
priyagee7-Jul-10 21:30 
QuestionSimple problem pre-select WPF Codeplex ComboBox item [modified] Pin
devvvy7-Jul-10 15:54
devvvy7-Jul-10 15:54 
Questionmultiple WCF client endpoints exposed as dropdown list Pin
Michael Eber7-Jul-10 13:00
Michael Eber7-Jul-10 13:00 
QuestionDomainServicess??? Pin
Chris H Developer7-Jul-10 8:32
Chris H Developer7-Jul-10 8:32 
QuestionGraphical Lasso to Select Controls Pin
Jammer7-Jul-10 6:03
Jammer7-Jul-10 6:03 
AnswerRe: Graphical Lasso to Select Controls Pin
Insincere Dave9-Jul-10 4:13
Insincere Dave9-Jul-10 4:13 
GeneralRe: Graphical Lasso to Select Controls Pin
Jammer9-Jul-10 6:12
Jammer9-Jul-10 6:12 
QuestionDrawing rubber-band lines and shapes on mouse events in WPF Pin
hamidkhan6-Jul-10 4:59
hamidkhan6-Jul-10 4:59 
AnswerRe: Drawing rubber-band lines and shapes on mouse events in WPF Pin
Abhinav S7-Jul-10 2:10
Abhinav S7-Jul-10 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.