Add Service meda data information to the config file.
<behavior name="serviceBahbiour">
<serviceMetadata httpGetEnabled="false"/>
</behavior>
Add Service meda data information to the config file.
<behavior name="serviceBahbiour">
<serviceMetadata httpGetEnabled="false"/>
</behavior>
I have hosted wcf service in Console Application and run ,Then my app prompt below exception.
Solution for this is running the the CosoleApp/Visual Studio in Admin Mode
I am load testing a WCF project using VS2010 load testing manager , that uses an app.config file to load configuration properties. But the problem is load test application itself does not have an app.config file. there for what I have done is add the .config
file to the ny load testing project and its works charmly
Recently I have create WCF service and hosted in IIS 7.5 under was.
Then I investigate the reason and found the reason.In order to over come this issue we need to have both http,net.tcp protocols in hosted web application advanced settings under Behavior section.
Recently I have created wcf service which is on NetTCPBinding and hosted in WAS.But when I try to create proxy using WCFtestClient its always failed prompting this error.
The reason for this is the host sent a reset signal, instead of an ack when the client tried to connect. It is therefore not a problem in the code. Either there is a firewall blocking the connection or the process that is hosting the service is not listening on that port.
After doing above two steps its works