Visual Studio can't create web site in IIS

后端 未结 4 1972
轮回少年
轮回少年 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: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.

提交回复
热议问题