problem with creating membership user
i'm building an web application for anonymous users. They can take a look in the website, nothing more. In order to perform other actions, the anonymous user must be logged. So i create an aspx page (mylogin.aspx) with the CreateUserWizard control. The user can fill his username, password etc ....
I also created a MDF file "aspnetdb.mdf" with aspnet_regsql.exe and i copied it from where it was created (in sql server directory) into dir App_Data of my application.
I did this in web.config:
<connectionStrings> <add name="aspnetdb" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\aspnetdb.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> </connectionStrings>
<membership userIsOnlineTimeWindow="20" ></membership>
<authentication mode="Forms"><forms loginUrl="mylogin.aspx" protection="All"></forms></authentication>
I granted R/W to account ASPNET for dir App_Data.
My problem is: when an user fills everything and clicks on button "create an
account", nothing happens (no error, but no user account created).
Thanks for help