السلام عليكــم ورحمـة الله وبركاتــه ،،
لدي المثال التالي (مأخوذ من احد الكتب)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First ASP.NET Page</title>
<script runat="server" language="C#">
protected void Page_Load(object sender, EventArgs e)
{
timeLabel.Text = DateTime.Now.ToString();
}
</script>
</head>
<body>
<p>Hello there!</p>
<p>The time is now:
<asp:Label runat="server" id="timeLabel" /></p>
</body>
</html>وقمت بأضافة الصفحة في المجلد الخاص الذي كونته وربطته مع ال IIS
و عند طلب الصفحة يظهر خطأ كما في الصورة