CREATE DATABASE permission denied in database ‘master’ - SQL EXPRESS

May 13, 2014 by Anuraj

.Net .Net 4.0 ASP.Net MVC EF Code First Entity Framework SQL Server

Long back I wrote a post about Entity Framework Error – The underlying provider failed on Open. Yesterday some one told me, he is getting this error - CREATE DATABASE permission denied in database ‘master’, he is using an application pool with NETWORK SERVICE identity. Here is the solution, you require SysAdmin Role for “NT AUTHORITY\NETWORK SERVICE” to resolve this issue.

Setting the SysAdmin Role for Network Service

Happy Programming :)

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub