IIS Binding Fix for “The certificate associated with this binding is also assigned to another site’s binding. Deleting this binding will cause the HTTPS binding of another site to be unstable. Do you still want to continue?”

If you add a binding to your website in the IIS interface and then try to remove that binding by using the interface again, you might see the following error message that says;

The certificate associated with this binding is also assigned to another site’s binding. Deleting this binding will cause the HTTPS binding of another site to be unstable. Do you still want to continue?”

In order to fix this; follow the steps below otherwise you might end up in a big trouble;

  1. Go to C:\Windows\System32\inetsrv\config and find applicationHost.config. Save a copy of this file before making any changes.
  2. Open it using Notepad - I normally use Notepad++ but this time I had to use Notepad in order to make this work.
  3. Search for website's name in the file until you find your web site's bindings. Simply delete the binding that you no longer need and then save the file.
  4. You might need an iisreset at this point but first re-open the IIS interface and check your website's bindings. You will see that you don't have that binding anymore.
That is all. Happy coding.

Comments

Popular posts from this blog

Solution for the fault: "System.Diagnostics.Process.Start is not working on IIS, but working on ASP.NET Development Server"

Solution for "Can not obtain Oracle client information from registry"