Home > WCF > Configuring IIS7 to provide correct hostname in WCF WSDL and Service Metadata
  1. July 17, 2009 at 11:59 am


    In this instance, I thought through the problem, and after some trial and error got my solution. Then I went out on the internet to see what others had said and then put this article together.

    Hope this helps.

  2. Gediminas Bukauskas
    April 12, 2011 at 11:07 am

    This works for HTTP site only HTTPS does not allow setting name in the binding.

    • April 12, 2011 at 2:02 pm

      Gediminas, that is correct. There is a possible fix for this, and I have not tested it, but needed it when I was working in TFS and HTTPS. You have to change your registry. You’ll need to add a DWORD to HKLM\System\CurrentControlSet\Control\Lsa and call it DisableLoopbackCheck and make the value 1. This will stop the check where the netbios name and the URL are compared and if there is no match a failure occurs. Again, I have only used this to fix a problem I was having with TFS, and maybe it will help you. Please let me know if it works.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: