Tuesday, October 23, 2012

The specified sa password does not meet strong password requirements

When installing SQL Server 2008 R2 when you go to specify the sa password you get an error message stating that the password doesn't meet complexity requirements. 

From this thread  msdn thread, the post that helped me was the following:

Several simple solution steps:

If computer is on a domain
1. Go to Administrative Tools / Domain Security Policy :: Security Settings | Account Policies | Password Policy
2. Ensure "Minimum password length" and "Password must meet complexity requirements" set to "Not Defined" state.

Not on domain
3. Go to Administrative Tools / Local Security Policy :: Security Settings | Account Policies | Password Policy
4. Turn "Minimum password length" to zero and "Password must meet complexity requirements" to "Disable"

Monday, October 15, 2012

HTML / Javascript for switching images based on a time interval

Here's a code snippet for flipping an image every second. In this example there's only 2 images. 

<!DOCTYPE html>
<img id="img" src="image2.jpg">

var images = new Array()
images[0] = "image1.jpg";
images[1] = "image2.jpg";
setInterval(changeImage, 1000);
var x=0;

function changeImage()


<button onclick="int=window.clearInterval(int)">Stop</button>


Source: http://stackoverflow.com/questions/3264739/image-change-every-30-seconds-loop

Wednesday, October 3, 2012

In place Upgrade from Windows Server 2008 R2 standard to enterprise

I installed 40 GB of RAM on this server and installed WS 2008 R2 Standard edition. To my surprise the amount of memory it says is "40 GB (32 GB usable)". The reason it says 32 GB usable is because Standard edition only supports a max of 32 GB!

I thought i was going to have to completely reinstall to get Enterprise installed. Fortunately i found this blog post: http://jamiebaldanza.org/2010/09/08/in-place-windows-server-2008-r2-standard-to-enterprise-upgrade/

You can do an inplace upgrade with one command: dism  /online /set-edition: ServerEnterprise /ProductKey:xxxx