Author: b007 | Posted on: 10/11/2009 3:13:11 PM | Views : 321

Hi,
tried to add Created User to users Role:
I added to CreateUserWizard this:

protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e) { Roles.AddUserToRole(CreateUserWizard1.UserName, "users"); }
Not working..
I'm getting this error:

The SQL error number is 1802 and the SqlException message is: CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Cannot create file '\APP_DATA\ASPNETDB_TMP.MDF' because it already exists. Change the file path or the file name, and retry the operation. Creating the ASPNETDB_0142573d7e244808847ee7eb980a89ca database...How to fix it?
Thanks..


...

Go to the complete details ...