Archive for August, 2008

How to Find the Data Directory of SQL Server 2005 in a Script


In versions of SQL Server prior to 2005 finding the directory where SQL Server creates its databases was pretty easy since there was a registry key named after the instance of SQL Server and a value that specified the path.

With SQL Server 2005 Microsoft changed everything, making it a challenge to retrieve the correct data directory from a build script. The solution we had in our build script turned out to be wrong, so this afternoon I discovered the correct way to do it. (more…)

Dual Head on Ubuntu Hardy with Intel GM965 (Part 1)


Yesterday I got a LCD monitor that I plugged in to the docking station of my Dell D830. Using cloned mode where both the laptop display and the external monitor display the same, worked right away. But I wanted to use extended mode so that I can have a bigger workspace. Here’s how I got it to work. (more…)

Getting the Microphone to Work


Today I tried to set up Skype on Ubuntu Hardy 8.04 on my Dell Latitude D830 laptop.

I quickly found the Skype package in the Medibuntu repository, installed it – it started up, I was able to login on Skype. Then I tried a test call: sound output worked, but not the (internal) microphone. (more…)

More on Fingerprint Reader


I had the fingerprint reader working on my Dell Latitude D830 laptop running Ubuntu 8.04. However, there was still one big problem: after resuming the laptop from suspend it only showed a black screen – I could do nothing. The same thing happened when I logged on, switched to another user and then switched to the first user again (or logged out the second user).

I noticed that everything worked when I had Compiz disabled. So obviously the password dialog wasn’t working.

Recently I discovered an error message in /var/log/auth.log and was able to track down the problem. (more…)

Security Update for SQL Server 2005 Service Pack 2 (KB948109) failed


During the last weeks Vista always claimed that there’s an update to install, but it never succeeded installing it. So this afternoon I dug into it. (more…)