简体   繁体   English

IIS 7.5默认网站目录被意外删除

[英]IIS 7.5 Default Web Site Directory deleted accidentally

I deleted the "Default Web Site" Home directory in my IIS 7.5. 我在IIS 7.5中删除了“默认网站”主目录。 So i lost my local host online ASP.NET web applications, when i try to re-publish ,I can't see the "wwwroot" in the "inetpub" directory. 因此,当我尝试重新发布时,我失去了本地主机的在线ASP.NET Web应用程序,在“ inetpub”目录中看不到“ wwwroot”。 What i have to do now ? 我现在要做什么? I have to reinstall the IIS, If so, How i reinstall it ? 我必须重新安装IIS,如果是,如何重新安装它?

I'm a little late answering this question, but I had this happen to me. 我回答这个问题有点晚了,但是我遇到了这种情况。 The solution is to create the empty directories that were deleted. 解决方案是创建已删除的空目录。 Once you start running Visual Studio, VS will populate all the files within the directories. 一旦开始运行Visual Studio,VS将填充目录中的所有文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM