I have a WCF service hosted in console application which was provided by our client, which we are suppose to consume in our web application. This WCF Service is using "netnamedpipebinding". When i tried to add a reference to the service in my asp.net
solution i am getting the following error "There was an error reading from the pipe: The pipe has been ended. (109, 0x6d)". Because of this error i am unable to add reference to the service in my asp.net solution. net.pipe listner adapter is running. I also
tried to download the metadata using svcutil but got the following error "This url does not support DISCO".
To narrow down the issue, do you try create a simple service with netnamedpipebinding binding at your side to test if it works? Below is the app.config for my test service, please have a try.
harikamat
Member
37 Points
37 Posts
Unable to add reference to service in ASP.Net application in Visual Studio 2010
Feb 28, 2013 10:10 AM|LINK
Hi,
I have a WCF service hosted in console application which was provided by our client, which we are suppose to consume in our web application. This WCF Service is using "netnamedpipebinding". When i tried to add a reference to the service in my asp.net solution i am getting the following error "There was an error reading from the pipe: The pipe has been ended. (109, 0x6d)". Because of this error i am unable to add reference to the service in my asp.net solution. net.pipe listner adapter is running. I also tried to download the metadata using svcutil but got the following error "This url does not support DISCO".
Please help.
Thanks,
Harish
santosh.jagd...
Star
7625 Points
1454 Posts
Re: Unable to add reference to service in ASP.Net application in Visual Studio 2010
Feb 28, 2013 10:56 AM|LINK
please refer below, similar problem is answered. May be help you
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/7fb2bfac-ef76-4f6a-b649-3729b54f7b8a/
MCP
Haixia Xie -...
Contributor
3031 Points
296 Posts
Microsoft
Re: Unable to add reference to service in ASP.Net application in Visual Studio 2010
Mar 01, 2013 07:10 AM|LINK
Hi,
To narrow down the issue, do you try create a simple service with netnamedpipebinding binding at your side to test if it works? Below is the app.config for my test service, please have a try.
<system.serviceModel> <services> <service name="WcfServiceLibrary1.Service1"> <endpoint address="net.pipe://localhost/Design_Time_Addresses/WcfServiceLibrary1/Service1/service" binding="netNamedPipeBinding" bindingConfiguration="" contract="WcfServiceLibrary1.IService1"> <identity> <dns value="localhost" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://localhost:8732/Design_Time_Addresses/WcfServiceLibrary1/Service1/service" /> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior> <serviceMetadata httpGetEnabled="True"/> <serviceDebug includeExceptionDetailInFaults="False" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>Also you can find a sample here.
http://msdn.microsoft.com/en-us/library/ms731291.aspx
Best Regards.
Feedback to us
Develop and promote your apps in Windows Store