Cowboy Programming Game Development and General Hacking by the Old West

October 29, 2007

Hotfixing Vista

Filed under: Random — Mick West @ 5:07 pm

I got a Blue Screen of Death a few minutes ago, and I’d had another one yesterday. The BSOD is possibly the most annoying thing that can posibly happen, short of total drive failure. Anyway, this time I wrote down the error:

DRIVER_POWER_STATE_FAILURE

With a little digging it seemed this was related to the fact that two days ago I accidentally put my computer to sleep, instead of powering down. This is a known issue, detailed here:

http://support.microsoft.com/kb/941858

Since the fix is apparently a bit tenuous, you have to contact Microsoft to get the hotfix. At first I attempted to do this via their on-line chat, but swiftly gave that up as it managed to crash IE7, and kept telling me it was about to charge me $54.

So I eventually discovered you can just submit an online request for a hotfix, here:

http://support.microsoft.com/kb/935195

So I did, and now I’m waiting. We shall see….

[UPDATE] About three hours later I got an email with a download link and a password. The password is only good for seven days. I installed it, and I’m keeping my fingers crossed. No crashes so far.

MySQL Server Install Problems with Vista

Filed under: Random — Mick West @ 3:07 pm

Oh Vista, how do I dislike thee!

Grr – trying to install MySQl server 5.0 on Windows Vista was rather frustrating, as it simply stopped with “Unable to start service, error 1067”. Especially annoying as I flawlessly installed the thing on my XP laptop in two minutes last night.

You would think someone would have fixed this now, but no, the googlesphere advice seemed to be to re-run the install program as administrator. This failed to work. But I gathered from faint intimations that you had to remove the service for it to be properly re-installed. So, the steps that seemed to work for me were:

  1. Run regedit
  2. Delete the key MySQL from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  3. Reboot (important, otherwise the service does not go away)
  4. Go to C:\Program Files\MySQL\MySQL Server 5.0\bin
  5. Right click on MySQLInstanceConfig.exe, and choose “Run as administrator”
  6. Set it up as you want, and cross your fingers when it comes to starting the service.

Worked for me!

Powered by WordPress