无法启动IIS Express Web服务器

时间:2019-12-04 13:17:45   收藏:0   阅读:68

(1)打开项目中以.csproj结尾的文件;

(2)将<WebProjectProperties>节点下的<AutoAssignPort>设置为True;

(3)<DevelopmentServerPort>、<DevelopmentServerVPath>、<IISUrl>属性清空;

这些操作是让VS重新启动配置,最后保存,重新打开项目。

设置如下:


 

 1 <WebProjectProperties>
 2           <UseIIS>True</UseIIS>
 3           <AutoAssignPort>True</AutoAssignPort>
 4           <DevelopmentServerPort></DevelopmentServerPort>
 5           <DevelopmentServerVPath></DevelopmentServerVPath>
 6           <IISUrl></IISUrl>
 7           <NTLMAuthentication>False</NTLMAuthentication>
 8           <UseCustomServer>False</UseCustomServer>
 9           <CustomServerUrl>
10           </CustomServerUrl>
11           <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
12  </WebProjectProperties

原文:https://www.cnblogs.com/TechSingularity/p/11981943.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!