Click here to Skip to main content
15,919,245 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How to access view in view model Pin
Pete O'Hanlon12-Jul-10 1:26
mvePete O'Hanlon12-Jul-10 1:26 
AnswerRe: How to access view in view model Pin
Member 341039816-Jul-10 15:30
Member 341039816-Jul-10 15:30 
Questionsilverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Tiju John11-Jul-10 22:35
Tiju John11-Jul-10 22:35 
AnswerRe: silverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Abhinav S11-Jul-10 23:37
Abhinav S11-Jul-10 23:37 
AnswerRe: silverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Kunal Chowdhury «IN»12-Jul-10 8:17
professionalKunal Chowdhury «IN»12-Jul-10 8:17 
GeneralRe: silverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Tiju John12-Jul-10 18:55
Tiju John12-Jul-10 18:55 
AnswerRe: silverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Kunal Chowdhury «IN»12-Jul-10 19:36
professionalKunal Chowdhury «IN»12-Jul-10 19:36 
GeneralRe: silverlight4 tools for visual studio 2010 fails with the following error… HELP! Pin
Tiju John16-Jul-10 5:36
Tiju John16-Jul-10 5:36 
QuestionWant to learn Silverlight from scratch in ASP.Net Pin
Amit Spadez11-Jul-10 21:38
professionalAmit Spadez11-Jul-10 21:38 
AnswerRe: Want to learn Silverlight from scratch in ASP.Net Pin
Abhinav S11-Jul-10 22:06
Abhinav S11-Jul-10 22:06 
GeneralRe: Want to learn Silverlight from scratch in ASP.Net Pin
Amit Spadez11-Jul-10 22:13
professionalAmit Spadez11-Jul-10 22:13 
AnswerRe: Want to learn Silverlight from scratch in ASP.Net Pin
Abhinav S11-Jul-10 23:08
Abhinav S11-Jul-10 23:08 
AnswerRe: Want to learn Silverlight from scratch in ASP.Net Pin
Kunal Chowdhury «IN»12-Jul-10 17:23
professionalKunal Chowdhury «IN»12-Jul-10 17:23 
QuestionComboBox Items (Binding?) Pin
seblake11-Jul-10 13:31
seblake11-Jul-10 13:31 
AnswerRe: ComboBox Items (Binding?) Pin
Jammer11-Jul-10 22:43
Jammer11-Jul-10 22:43 
GeneralRe: ComboBox Items (Binding?) Pin
seblake13-Jul-10 16:58
seblake13-Jul-10 16:58 
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 

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.