无法在我的本地iis上加载asp.net页面

时间:2014-01-25 18:31:23

标签: asp.net windows iis-6

你能帮帮我吗。我正在努力让我的aspx页面加载到我的本地电脑iis6,Windows 8上。

如果我去localhost然后我会看到默认的iis页面视图以证明iis有效。

我尝试设置一个名为“test”的网站,指向我的网站文件夹但不会。看下面的图像。能帮忙吗?

C:\Users\xxxx\Documents\\WebSite1

enter code here

enter image description here

enter image description here

enter image description here

enter image description here

的web.config

<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>
    <system.webServer>
        <defaultDocument>
            <files>
                <add value="Default.aspx" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>

0 个答案:

没有答案