Sto provando a fare una creazione utente e contemporaneamente memorizzare anche la registrazione del profilo, con l'aggiunta di uno step. Ma quando tento di mettere nel datastore i dati del profilo mi dà l'errore dicendomi che non sono autenticato: "Impossibile impostare questa proprietà per utenti anonimi. "

Pagina Registrati.aspx
codice:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Registrati.aspx.vb" Inherits="Registrati" %>

<!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>Registrazione</title>
    <link href="Stile/stile.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" HeaderText="Nuovo utente">
        <HeaderStyle BackColor="Beige" ForeColor="Black" Font-Bold="True" HorizontalAlign="Center" />
            <WizardSteps>
                <asp:WizardStep runat="server" Title="Dati personali">
                    Nome:
                    <asp:TextBox ID="txtNome" runat="server" />
                    

                    Cognome:
                    <asp:TextBox ID="txtCognome" runat="server" />
                    

                    Indirizzo:
                    <asp:TextBox ID="txtIndirizzo" runat="server" />
                </asp:WizardStep>
                <asp:CreateUserWizardStep runat="server" />
                <asp:CompleteWizardStep runat="server">
                </asp:CompleteWizardStep>
            </WizardSteps>
        </asp:CreateUserWizard>
    </form>
</body>
</html>
e code behind:
codice:
Partial Class Registrati
    Inherits System.Web.UI.Page

    Protected Sub CreateUserWizard1_ContinueButtonClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles CreateUserWizard1.ContinueButtonClick
        Response.Redirect("default.aspx")
    End Sub

    Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As System.EventArgs) Handles CreateUserWizard1.CreatedUser
        Profile.Nome = txtNome.Text.ToString()
        Profile.Cognome = txtCognome.Text.ToString()
        Profile.Indirizzo = txtIndirizzo.Text.ToString()
    End Sub
End Class
Come mai? Dal libro che sto studiando dicono che invece dovrebbe funzionare...
Dove sbaglio?