Last post Jul 30, 2013 11:03 AM by l.laxmikant
Jul 29, 2013 10:54 AM|noobville|LINK
I have a WCF; using .NET 4.0, which initially was only using wsHttpBinding and was working fine. I added a netTCP binding and endpoint I get the following message; "The protocol 'net.tcp' is not supported."
If I comment out the netTCP endpoint the service runs no problem, so I am thinking there is something wrong in how I set my endpoint or VS is not setup to use TCP, maybe on HTTP when debugging. Can someone weigh in on this for me, please I need help. This
should be a simple thing of adding the new endpoint, but I have been struggling with it for awhile now.
Jul 29, 2013 11:39 AM|kushalrdalal|LINK
Did you enable the protocol at iis level after configuring the service?
If not then you should do that first and give it a try to run.
Jul 29, 2013 11:44 AM|noobville|LINK
Sorry for my ignorance, but how do i do that? I may not have permission to do that too. But please give me the steps anyway.
Jul 29, 2013 11:52 AM|kushalrdalal|LINK
When you have hosted the service in iis just try to do follow:
Right click on the service on your left side in iis and then Manage Application -> Advance Settings
Once the pop up comes under Advanced behaviour you should have Enabled protocol.
Check net.tcp is there or not, if not add it.
Enabled Protocol: http,net.tcp
Jul 29, 2013 12:07 PM|noobville|LINK
Sorry but I cannot do this on my local machine, I can only run it in VS. I don't have permissions to IIS for security reasons; some I perform that operation.
Jul 29, 2013 01:39 PM|noobville|LINK
Let me mention again, that one of the constraints I have placed on me is that I can use Visual Studio to test this. Therefore, I can go to IIS like some of contributors have mentioned. I do appreciate the hel though!
Is there is anyway I can address this issue beyond what I received in the previous replies?
Jul 29, 2013 03:31 PM|kushalrdalal|LINK
Check in your system processes that all the services are running related to net.tcp as well.
For that you can go to Services by going to task manager and check there should be some services related to nettcp and check if those are running or not. if not then try to enable those and start running those.
Jul 30, 2013 11:03 AM|l.laxmikant|LINK
check below link for managing multiple enpoints for one service
wcf service with multiple endpoints
AS you said you had wsHttpBinding, I guess you have hosted your wcf service in IIS. If you have netNamedPipeBinding or netTcpBinding for your service and hosted in IIS you need to make some settings at IIS level and servives.
this article will help you to make neccessary changes for netTcpBinding