I am trying to get the role of currently logged in user. Here is my code
string[] rolesuserbelongto = Roles.GetRolesForUser();
<roleManager enabled="true" />
in web.config
The error I am getting is the following
An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 5170 and the SqlException message is: Cannot create file 'C:******\ASPNETDB_TMP.MDF' because it already exists. Change the file path or the file name, and retry the operation. CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Creating the ASPNETDB_a59f73a02db543de9eafe5c626a03ff0 database...
How can this be resolved? Please I am new to c# mvc .