Cannot open database "" requested by the login. The login fled. Login failed for user 'NT AUTHORITY\SYSTEM'. in mvc

Finally I set the pool identity on LocalSystem and thought why it might be preventing "NT AUTHRITY\SYSTEM" from opening a connection to my database. I opened up SQL Server Management Studio as the user "Administrator" and checked out the Server Roles for NT AUTHORITY\SYSTEM under "logins" section. The default server role for this user was public by default. I also checked sysadmin and refreshed my web application form.

Comments

Popular posts from this blog

The serve command requires to be run in an Angular project, but a project definition could not be found - Fixed

Azure - Failed to deploy web package to App Service. Internal Server Error (CODE: 500)- Fixed

Your global Angular CLI version (8.3.3) is greater than your local version (1.6.5). The local Angular CLI version is used.