Ok, I first have to say how blown away I am that I was able to get this to work. Here’s the scenario. I was unsuccessful in having VMWare Fusion run my Vista x64 Boot Camp partition (probably for this reason). After many fits and starts, the plan was to create a Vista Complete PC Restore image to an external drive. Then create a VMWare Fusion Vista x64 VM and restore the backup to the VM. The first thing I learned is that Complete PC Restore must restore the image to a drive that is as large (or larger) than the original drive. This is apparently because the backup is a true disk image and not a file backup. Well, this posed a small waste of time because I had created a pre-allocated 250GB vmdk that now had to be scrapped for a 500GB dynamic volume. Also, during the restore, I received an error. I attempted the restore a second time without checking the box to format the drive, and this time time it took.

After a night-long restore of the image, I came into my office in the morning to find the VM repeatedly rebooting do to a Vista blue screen and Vista set to automatically reboot after a stop. I left the VM in a suspended state and went to work. Later on in the evening, I set out to fix the problem. The problem was a 7B stop, which means that a hardware driver for the mass storage unit was not loading at boot. Well, sure, I now have a new IDE controller; as far as Vista is concerned.

Ah, but this is where is gets slick. Vista is now equipped with a revised recovery console, or WinRE. The long and short of it was that I was able to edit the registry from the recovery console. Yes, phat, I know! The docs on how to do this at MS are missing a step (they fail to mention that you need to edit within the “offline” key), so I was able to find better docs elsewhere. This combined with the information as to what registry keys to edit from MS, I was in business. As for that last page from MS, all I did was change the Start value on the two drivers from 4 to 0.


I run an XP virtual machine because our ERP app does not run on Vista Business (or any version of Vista). I also use this environment for development work in and around our ERP application. So, today I was installing SQL Server 2005 Express Edition with Advanced Services. Since this includes Reporting Services, I need IIS installed. This is where I ran into trouble. Add/Remove Windows Components would not launch.

When I attempted to launch Add/Remove Windows Components, I received the following error:

Setup library setupqry.dll could not be loaded, or function IndexSrv could not be found.

Contact your system administrator. The specific error code is 0x7e.

The first step in diagnosing this problem was to run Procmon. I saw nothing unusual because all access to setupqry.dll (c:\Windows\System32\Setupqry.dll) was successful. The next step was to use Dependency Walker. Using Procmon, I was able to see the process that reads setupqry.dll, and the command line is:

"C:\WINDOWS\system32\sysocmgr.exe" /y /i:C:\WINDOWS\system32\sysoc.inf

I used Dependency Walker to profile sysocmgr.exe, and sure enough, as part of the log output was:

LoadLibraryExW("C:\WINDOWS\system32\Setup\setupqry.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: %1 is not a valid Win32 application (193).

Looks as if the file is corrupt. I went to another XP workstation here in the office, and copied Setupqry.DLL from their machine. When I went to copy the file to my machine, I immediately noticed that in Windows Explorer, the file lacked a description like the other DLLs. Well, I copied over the existing file, and Add/Remove Windows Components opened up like a charm. Crisis avoided; back to DEFCON 2.

As a follow up to my prior post about my new Teletype Bluetooth GPS Receiver, I found that the having the two devices was way too difficult to manage. Well, that coupled with my need for the latest and greatest BlackBerry, I now have a T-Mobile 8800 with built-in GPS receiver. The software stays the same however there is no longer a need for the brick (granted a small brick) on the dash.


I wrote my first useful Powershell script today. I had a directory of bitmaps and I wanted to convert them to PNG. This is a relatively easy task in .NET. All I had to do was figure out how to do this within Powershell. The script is as such:

foreach($file in Get-ChildItem *.BMP)
echo $file.Name
$image = [System.Drawing.Image]::FromFile($file)
$image.Save($file.ToString().Replace("BMP","png"), [System.Drawing.Imaging.ImageFormat]::Png)

As simple as this may seem, it really isn’t. First, the FromFile() method kept throwing an exception with NO description. After running FileMon did I see that it was looking in the wrong place for the file. As to why it didn’t bubble up a FileNotFoundException, I haven’t a clue (thanks Redmond). I also attempted to trap the exception, but seems to do nothing as well.

The second hurdle to get past was the fact that Get-ChildItem returns a System.IO.FileInfo type and the Name property contains only that — no full path. However ToString() does, and so that is where I called Replace() on. Once the pieces where in place, it worked like a charm.

I just started using a Bluetooth GPS receiver from Teletype. It seems to work well when I toss the device up onto the dash. Initially, I used the freely available BlackBerry Maps from RIM, however, the lack of voice guided turn-by-turn directions makes it useless while driving. After a quick Google search for BlackBerry GPS Guidance apps, I found TeleNav and this morning I downloaded it and signed up for the 30 day trial.

TeleNav worked surprisingly well. I was surprised that the voice prompts came from the speaker and didn’t require a headset. It’s recovery from a wrong turn wasn’t as fast as the nav system in my wife’s minivan, but I’m guessing that that is a function of the data link between my 8700 and TeleNav’s servers. Furthermore, the full color interface and 3D map graphics made for a pleasant interaction with the application.

IMHO, I do not have a problem with the monthly fee ($9.95/mo). When you look at TeleNav’s side-by-side comparison to a conventional nav device (like a Garmin), it makes a lot of sense. For example, if I installed a Pioneer nav unit, with XM Traffic, I’d be on the hook for a monthly fee, and oh, BTW, TeleNav gives you the same routing around traffic. So when you look at it like that, it’s probably a better deal.

At this point, I’m awaiting a call from a TeleNav sales rep regarding bulk pricing. I’ve been looking for a nav solution for our fleet of 50 vehicles and this may be it. I can leverage the benefit of a BB in each of my technicians hands as well as giving them live, voice guided, turn-by-turn route guidance. What would be the ultimate, is to interface it with our field force automation system, so when we dispatch a call we can provide directions on the fly. That’d be phat.

I’ll keep everyone posted.

So, do you ever unplug your Cisco router, move it, plug everything back in, and then spend a few hours wondering why stuff doesn’t work? Then, sit through another Sanjaya performance (complete with Mohawk), only to have an epiphany? I must have forgotten to save my last changes to the router prior to depowering it! Well, fortunately when I made the last change, I backed up my show run to an FTP server (I just forgot the wr mem). Turns out my backup had a small error in the voice-port configuration, but a quick fix and voila! The door phone now rings down a CO port on my KSU. J

Is this guy really that popular? Are kids like Crying Girl voting for this freak? While I am an avid watcher of Idol, and have been so for years, Im at a lost. This can not be the sole doing of Dave at VFTW, or Indian call-centers. I think that people really do like him. Come on America, wake up and kill this fuzzy haired anoma ly once and for all. Because rest assured, if this guy does win, that will be the end of Idol. Whether we like it or not.


OK, maybe I’m being a snob, but I think that the global.asax file is for kids who don’t know anything about HttpModules. Any web app developer worth their salt would prefer to code up an HttpModule than waste time in a file that, IMHO, is just weird. Anyway, this is what I pimped out the other night in my HttpModule

public void Init(HttpApplication context) {
((System.Web.Profile.ProfileModule)context.Modules["Profile"]).MigrateAnonymous +=
new System.Web.Profile.ProfileMigrateEventHandler(ProfileInfoModule_MigrateAnonymous);

void ProfileInfoModule_MigrateAnonymous(object sender, System.Web.Profile.ProfileMigrateEventArgs e) {

That’s the kind of stuff you AIM your fellow coders about. Weeee!

Ok, so I spent probably a week and half banging my head against the keyboard trying to figure out why my Polycom 601 wasn’t receiving audio from an FXO voice-port connected to the PSTN on my Cisco 2620XM router/gateway. I can’t tell you how many times I typed show run, scratched my head, ran trace after trace, only to find myself at Cisco’s IP Communications and Video Forum. Here I started search “one way audio”. Well, this is where I found my silver bullet.

I finally came across a response to a post about a one way audio problem. The responder referenced Troubleshooting One Way Voice Issues. OMFG! All I had to do was read the title to the Ensure That IP Routing Is Enabled on the Cisco IOS Gateway and Routers section to realize that in the show run was no ip routing. Well, one quick change to that and blamo! Voice! Now all I have to resolve is some echo issues, but that shouldn’t be too difficult.