Blog
Blog posts on .NET, Azure, and more.
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.
How to set Bing wallpaper as your desktop wallpaper
May 08, 2014 by Anuraj
.Net .Net 4.0 CodeProject Win 32 API Windows Forms Windows Phone
This post is about setting Bing wallpaper as your desktop wallpaper using C# and Windows Forms. Bing.com is famous for having some nice pictures as wallpaper, updated on daily basis. The Bing Desktop application comes with same feature. Here is the code snippet, which has two parts one, download the wallpaper image from bing.com and set it as wallpaper using WIN32 APIs.
How to upload file in ASP.Net MVC
May 06, 2014 by Anuraj
.Net .Net 4.0 ASP.Net MVC
This post is about upload file to server using ASP.Net MVC 4. First you need to modify the controller to accept the posted file along with the model. So you can modify it like this.
Problem with Internet Explorer and JSONResult in MVC
May 05, 2014 by Anuraj
.Net ASP.Net ASP.Net MVC
While working with the ASP.Net MVC project, one of my QA team member reported a strange issue, while uploading a file, Internet Explorer 9, showing a download file dialog like this.
How to integrate JQuery UI Datepicker in MVC
May 05, 2014 by Anuraj
.Net .Net 4.0 ASP.Net ASP.Net MVC HTML5 Javascript
This post is about integrating JQuery UI DatePicker in MVC 4. First you need to modify the _layout.cshtml. Because by defualt, it won’t include required references for JQuery UI. You need to include both CSS and JS for JQuery UI references. So the modified _layout.cshtml will look like this.
Copyright © 2025 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