PowerShell Create SQL Login with Powershell and T-SQL If you ever have the need to create a number of logins and users for a specific database(s) programmatically, then the following scripts may be of use to you. The first script leverages the strength of Powershell and can be extended for example to pull a number of usernames
PowerShell Setting up a new Windows 8.1 machine the easy way - using Chocolatey Nuget I admit it! I like new, shiny things. Besides, I wanted to sync all my devices (Surface and laptop) to the same version of the OS. The Surface Pro upgrade was a breeze. Since I don’t keep any data on my Surface, it was a case of just running
HTML 5 Working with Radio buttons and jQuery Working with Radio buttons and jQuery Radio buttons are one of the essential HTML elements that you can find in almost any website that contains a form for users to enter data. In this blog today we will do the following: Add radio buttons dynamically using jQuery And, get the
ASP.NET Resolving “HttpContextWrapper is not serializable” errors after upgrading Glimpse. If you are doing any ASP.NET development and not using Glimpse you are seriously missing out. It helps is so many ways to troubleshoot and improve performance that I cannot believe how I’ve done any web development without in the past. I’m really grateful for the work
Windows Phone Fixing TextChanged event firing twice in Windows Phone 7 (WP7) I’m currently playing around with WP7 and WP8 development trying to get to grips with the framework. I don’t have a specific application in mind but I’m trying to create a basic application that allows me take notes on the fly. Nothing fancy there. One of the
ADO.NET Dealing with “Cannot drop database because it is currently in use” error in ADO.NET I’m a big fun of Entity Framework but every once a while I come across a case where EF is not adequate or the right tool for the job. In one such case, I had to implement some code to perform bulk inserts in order to improve performance. Shortly
SQL Server Fixing error: "Cannot generate SSPI context" after changing SQL service account Everyone knows that it is good practice to use a domain or service account to run the SQL service. I’m sure you do too! However, once you do the right thing and change the SQL Service account, you may start getting the following error message when attempting to connect
Azure Azure - Error deleting VHD: There is currently a lease on the blob and no lease ID was specified in the request. Working with Azure the last couple of days, I came across an issue where I deleted a VM but I was unable to delete the associated vhd blob. The error received was similar to this: There is currently a lease on the blob and no lease ID was specified in