到项目里, 打开WebApplication1.csproj.webinfo这个隐藏文件把
<VisualStudioUNCWeb>
    <Web URLPath = "http://localhost/WebApplication1/WebApplication1.csproj" />
</VisualStudioUNCWeb>
中的localhost改成你的机器名

解决方案 »

  1.   

    iis里的localhost的虚拟目录WebApplication1,有没有指向c:\inetpub\wwwroot\WebApplication1"
      

  2.   

    在新建项目把位置这里的http://localhost/WebApplication1中的localhost改成你的机器名
      

  3.   

    在iss设置中确定如下设置:执行许可为纯脚本;ip地址标识中选择全部未分配。
      

  4.   

    如果你iis的默认WEB站点IP地址不是"全部未分配"的话, 它就会弹出你所描述的框
    我试过了
      

  5.   

    iis里的localhost的虚拟目录应为c:\inetpub\wwwroot\ip地址标识中选择全部未分配
      

  6.   

    1、Start the Internet Information Services MMC. 
    2、Right-click your Web site, and then click Properties. 
    3、Click the HTTP Headers tab, and then click MIME Types. 
    4、Click New to add a new MIME type. 
    5、In the Extensions text box, type .tmp. 
    6、In the MIME type text box, type text/plain.
      

  7.   

    up打开iis管理器
    选中你的网站,点击属性
    点击HTTP头选项卡
    点击下面的MIME类型
    新建一个
    扩展名:.tmp
    MIME类型:text/plain
      

  8.   

    参看http://www.csdn.net/develop/Read_Article.asp?Id=19725