Protocol bindings are configured at the site level in iis or was configuration was configuration

2502
Views
3
Answers

I was deploying a WCF application in IIS. when I access the service I was struck up with the good old yellow screen saying

No protocol binding matches the given address "http://myservice.com/Service/Info.svc". Protocol bindings are configured at the Site level in IIS or WAS configuration.

Any help would be appreciated.

edit | flag
William Patrick
Asked on: Dec 09, 2011 at 2:44AM

3 Answers

85
1
85

Should I set up Host header?? How do I do that?

edit | flag
William Patrick
Answered on: Dec 09, 2011 at 2:50AM
86
4
86

I changed the port number after deploying.. I guess that creates the problem..

edit | flag
William Patrick
Answered on: Dec 09, 2011 at 2:52AM
87
8
87

Try these steps
Redeploy the application
Check Port Number. Make sure URL matches endpoint URL
Make sure that your host headers are set

To Set up Host Header

Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).
2.In the Connections pane, expand the Sites node in the tree, and then select the site for which you want to configure a host header.
3.In the Actions pane, click Bindings.
4.In the Site Bindings dialog box, select the binding for which you want to add a host header and then click Edit or click Add to add a new binding with a host header.
5.In the Host name box, type a host header for the site, such as www.contoso.com.
6. Click OK.
7.To add an additional host header, create a new binding with the same IP address and port, and the new host header. Repeat for each host header that you want to use this IP address and port.3.

edit | flag
Gokul A
Answered on: Dec 09, 2011 at 2:55AM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags