Erreur dans le developpement asp.net

Fermé
08815266 Messages postés 52 Date d'inscription jeudi 7 janvier 2010 Statut Membre Dernière intervention 28 février 2017 - 25 févr. 2010 à 22:54
Bonjour,
slt je suis débutant en asp.net j'ai fait la page suivant:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>authentification</title>
</head>
<script runat="server">
void Envoi(object Sender,EventArgs E)
{

if (loginut.Text.Equals("gestionnaire") && passwordut.Text.Equals("geststeg"))
form1.Action = "http://localhost:4739/authentification/upload/Default.aspx";
else
form1.Action= "http://localhost:4739/authentification/Default.aspx";
}

</script>
<body><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<form id="form1" runat="server">
<div>
<center>
<table border='0'>
<tr>
<td><font color="red">login:</font></td>
<td>
<asp:TextBox id="loginut" TextMode= "SingleLine" runat="server"/>
</td>
</tr>
<tr>
<td><font color="red">password:</font></td>
<td>
<asp:TextBox id="passwordut" TextMode="Password" runat="server"/>
</td></tr>
<tr><td align="center" colspan="2">
<asp:Button ID="envoyez" text="Envoi!!" runat= "server" OnClick="Envoi"/>
</td>
</tr></table></center>
</div>
</form>
</body>
</html>
et il me sortir l'erreur suivant:
Erreur 65 L'utilisation d'une section inscrite comme allowDefinition='MachineToApplication' au-delà du niveau d'application est une erreur. Cette erreur peut provenir d'un répertoire virtuel non configuré en tant qu'application dans IIS. C:\Documents and Settings\Administrateur\Mes documents\Visual Studio 2008\WebSites\authentification\upload\web.config 39
l'erreur situer dans le document web.config à la balise <authentication mode="Windows"/>