创建虚拟目录失败,并显示以下错误 [英] Creating a virtual directory failed with the error
本文介绍了创建虚拟目录失败,并显示以下错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不能解决这个问题
我建议我必须更改c:\Windows\System32\drivers\etc\hosts
文件并在之后添加
I suggest I have to change c:\Windows\System32\drivers\etc\hosts
file and add after
# localhost name resolution is handled within DNS itself.
下一行:
127.0.0.1 mysite.dev
但是没有帮助.有什么建议吗?
but it doesn't help. Any suggestions?
尝试在Microsoft Visual Studio 2012中打开网站项目时发生错误.
Error ocсurrs when I try to open web site project in Microsoft Visual Studio 2012.
推荐答案
我已经找到了解决方案.我只需要通过将站点添加到<sites>
节点来编辑C:\Users\Administrator\Documents\IISExpress\config\applicationhost.config
文件.
I've already found the solution. I just had to edit C:\Users\Administrator\Documents\IISExpress\config\applicationhost.config
file, by adding my site to <sites>
node.
这篇关于创建虚拟目录失败,并显示以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文