ASP.NET Identity Manager Database Permissions

I have an Identity Manager that is configured and running locally while working with ASP.NET Identity. I have a SQL Server 2012 database for the backend. I can create a user and get the list back, however whenever I try to create a role, edit the user or list the roles that I get:

Allow CREATE DATABASE in the "master" database.

The user that I have in the connection string is a valid SQL login and is the user in the database that Identity Manager points to (and obviously can log in as I can see the user in the database table), however this seems to be for these actions, the database states that the user connection has not received permission.

I am running the application pool for the identity manager in AppPoolIdentity.

Appreciate any help.

0
source share
1 answer

So, the problems were primarily due to the fact that I did not transfer my context to the role store (I transferred it to the user store), and then made sure that the identity manager service receives my role manager. After I carefully studied all the dependencies, I got everything that was no problem.

0
source

Source: https://habr.com/ru/post/1613249/


All Articles