Visual Studio can't create web site in IIS

后端 未结 4 1950
轮回少年
轮回少年 2020-12-17 10:52

After installing service pack 1 for Visual Studio 2010 cannot create web site in IIS. Here is error message:

---------------------------
Microsoft Visual Studio
-         


        
相关标签:
4条回答
  • 2020-12-17 11:16

    Have you tried run Visual Studio with "Run As Administrator" from right click?

    0 讨论(0)
  • 2020-12-17 11:22

    Try changing the .Net version your Application Pool is using.

    1. Open IIS Manager from Administrative Tools.
    2. Select Application Pools on the left.
    3. On the right, double click 'DefaultAppPool' (or whichever you may have created)
    4. Under .Net Framework Version select v3.5.
    5. Click OK and restart IIS.

    I don't know if you have to restart IIS or not, but it won't hurt.

    0 讨论(0)
  • 2020-12-17 11:32

    This happened to me when I deleted the default application pool.

    Thanks to a Microsoft Connect report, I was able to solve this by choosing a new default application pool under the "Web Site Defaults" properties of the Sites node in the IIS 7 Manager tree.

    Screenshot of the "Web Site Defaults" properties window

    0 讨论(0)
  • 2020-12-17 11:35

    I found the answer here: Visual Studio 2013. You do not have sufficient privilege to access IIS web sites on your machine

    IIS stores a config file on your personal drive. At my company our shared drive was down for maintenance and I was getting this error. Once the drive came back online VS.NET started working again.

    0 讨论(0)
提交回复
热议问题