<system.web>
<authentication mode="Forms">
<forms name=".testASPX" loginUrl="login.aspx" protection="All" timeout="30" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
<authentication mode="Forms">
<forms name=".testASPX" loginUrl="login.aspx" protection="All" timeout="30" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
你也可以上传一个东西上去试试.
-----------------
test.aspx:<% @ Import Namespace="System" %>
<% @ Import Namespace="System.Collections" %>
<% @ Import Namespace="System.ComponentModel" %>
<% @ Import Namespace="System.Web.UI" %>
<% @ Import Namespace="System.Web.UI.WebControls" %><Script Language="C#" Runat="Server">
public void Page_Load(Object src,EventArgs e)
{
if(!Page.IsPostBack)
{
label3.Text="Label3";
}
}
</script>
<html>
<head>
<title>test Label control</title>
</head>
<body>
<bold>test Label control:<br></bold>
<asp:Label id="label1" font-size="9pt" font-bold="true" forecolor="red" runat="server" text="Label1" /><br>
<asp:Label id="label2" font-size="10pt" font-italic="true" forecolor="blue" runat="server" text="Label2" /><br>
<asp:Label id="label3" font-size="11pt" font-underline="true" runat="server" /></body>
</html>
------------------
我就上传了“test.aspx”一个文件。我估计以前是他server设置问题。这与“web.config”没有关系。
www27.brinkster.com/robinswan/testfrom.sapx
我是用了codebinding的,我连原代码文件都上传了.
msn passport: [email protected]
方便的时候请教一下.