Agile Developer

Error while doing u...
 
Notifications
Clear all

[Solved] Error while doing user mapping in MSSQL: Create failed for User (Microsoft.SqlServer.Smo)

2 Posts
2 Users
0 Reactions
412 Views
Posts: 2
Topic starter
(@pavithra)
Active Member
Joined: 2 years ago

Issue: After restoring the axpert database in mssql, there is an error as shown below when mapping the db user login with the default database.


1 Reply
Posts: 602
Admin
(@axpertsupport)
Honorable Member
Joined: 2 years ago

To resolve this issue, Run the below command on the restored database using SA login.
exec sp_change_users_login 'auto-fix', @userVar


Reply
Share: