2008R2+ASP.NET 4.0部署问题,在线等。。。
WIN2008R2+ASP.NET 4.0网站部署出现以下错误
Server Error in '/' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /login.aspx
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
WEB.CONFIG
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="cmdTimeOut" value="500"/>
</appSettings>
<!-- database connectionString -->
<connectionStrings>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
<!-- forms valid -->
<authentication mode="Forms">
<forms name=".CZZ" loginUrl="login.aspx" timeout="30" protection="All"></forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
<!-- error page -->
<customErrors mode="Off" defaultRedirect="ErrorPage.htm"></customErrors>
<pages enableEventValidation="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="Page" assembly="AspNetPager" namespace="Wuqi.Webdiyer"/>
</controls>
</pages>
</system.web>
<!-- valid code -->
<location path="ValidateCode.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>
请各位帮忙看看,谢谢了!