Hi Lee thanks 4 the code ,
i did try it and i got a little problem to access the database,
this login has user Id and Password,
i got this:
Cannot open database "ASPNETDB2" requested by the login. The login failed. Login failed for user 'test'.
with the same login i can access sql management studio and have full permit ion for the ASPNETDB2 database,
i tried this
<addname="ConnectionString"connectionString="Data Source=STUDIO\SQLEXPRESS;Initial Catalog=ASPNETDB2;Integrated Security=True"
providerName="System.Data.SqlClient" />
Cannot open database "ASPNETDB2" requested by the login. The login failed. Login failed for user 'studio\name
how can i sort this?
vs added this in the webconfig


Code:
type="System.Web.Security.SqlMembershipProvider, 
 System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"