Error : “Unable to start debugging on the web server…” ASP.NET 4.0

前端 未结 13 1645
别跟我提以往
别跟我提以往 2021-01-31 08:56

I am getting an error when I want to create a web site on IIS server. I am using Windows 7 and Visual Studio 2010.

Do I have to register or configure asp.net 4.0 for th

相关标签:
13条回答
  • 2021-01-31 09:10

    In my case, i have to change the certificates bindings in IIS>Default Web Site > Binding. IIS Binding

    0 讨论(0)
  • 2021-01-31 09:14

    Check that the path of your site in IIS points to the path of your web project in VS.

    I ran across this before and it was an issue of mismatched paths. If you've configured Visual Studio to use IIS and later on changed paths, IIS isn't updated automatically. You need to manually go into IIS and update the path.

    0 讨论(0)
  • 2021-01-31 09:14

    Another reason would be if you have SSL Certificate installed on IIS. You will have to disable the SSL from IIS manager for the application that you are debugging. Because Visual Studio tries to launch it as http instead of https.

    0 讨论(0)
  • 2021-01-31 09:16

    Tried running vs2010 as administrator?

    Also try 1. Open IIS. Click “Default Web Sites”.

    1. Check if “Anonymous Authentication” is enabled.

    2. Enable “Windows Authentication” as well.

    0 讨论(0)
  • 2021-01-31 09:19

    This error can appear if the password for the account used by the application pool changes. If you start getting this error after changing your network password you may need to update it for the application pool used by your local web sites as well.

    0 讨论(0)
  • 2021-01-31 09:19

    Make sure your site is setup to debug (debug="true") under web.config file

    <compilation targetFramework="4.0" debug="true">
    
    0 讨论(0)
提交回复
热议问题