CALL US
819-345-3497

VMWare snapshot problems on Windows 2008 R2 guest

One customer reported having problems taking snapshots of a Windows 2008 R2 VM, and the issue seemed to boil down to an ADAM writer installation/registration problem. (See http://communities.vmware.com/message/1631688)

Actually, VMWare said the problem was caused by “a hard-coded variable (SYSTEM) in the comreg.exe provided with the vmware-tools installer.”. As a workaround, they provided me with a modified version of the COMREG.EXE tool.

A related problem is that VCBRequestor.dll file is not installed by the VMWare tools installer, so I’m providing both the COMREG.EXE and VCBRequestor.dll files in this ZIP archive.

Here’s how to proceed:

1. Download the ZIP archive and extract it somewhere convenient. 

2. Replace the existing COMREG.EXE in C:Program FilesVMwareVMware Tools folder within the virtual machine with the downloaded file.

3. Copy the VCBRequestor.dll file from the ZIP archive to the C:Program FilesVMwareVMware ToolsDriversvss folder.

4. Manually register the VMware Snapshot Provider service:

a. Launch an elevated command shell (Run as Administrator).

b. Enter the following commands in sequence:

regsvr32 “C:Program FilesVMwareVMware ToolsDriversvssVCBRequestor.dll”

regsvr32 “C:Program FilesVMwareVMware ToolsDriversvssVCBSnapshotProvider.dll”

“C:Program FilesVMwareVMware ToolsCOMREG.EXE” -register “C:Program FilesVMwareVMware ToolsDriversvssVCBSnapshotProvider.dll” “VMware Snapshot Provider” “vmvss” “VMware Snapshot Provider”

5. If you see the error 80110801 when registering the COM application, you must delete the VMware Snapshot Provider COM application. To delete the VMware Snapshot Provider COM application:

a. Click Start > Programs > Administrative Tools > Component Services.

b. Double-click Component Services > Computers > My Computer > COM Applications.

c. Select VMware Snapshot Provider and press Delete on the keyboard.

d. Follow procedure under Step 2 to manually register the VMware Snapshot Provider COM application.

After that, quiesced snapshots can be taken without the usual I/O time-out error message.

I hope this helps others solve this annoying bug.

 

VS.NET 2010’s debugger doesn’t play nice with “add-ins”

If you’re developping .NET add-ins for 3rd party software, and want to move on to Visual Studio 2010, then this tip will certainly save you a lot of frustration.

Under VS2008, it was possible to place breakpoints in the add-in code, and when launching the host application from VS.NET’s debugger, those breakpoints would be hit as expected.

Under VS2010, the game changes. By default the debugger attached is the one for version 4.0 of the framework. If the host application targets the .NET 2.0 runtime, then the debugger just doesn’t see the breakpoints and sails right past them.

The workaround is easy enough. Just modify (or create one if it doesn’t exists) the HostApp.exe.config file to include the following:

<startup useLegacyV2RuntimeActivationPolicy=”true”>
  <supportedRuntime version=”v2.0.50727″/>
</startup> 

For more details:

An MSDN forum post
A Microsoft Connect entry

CSLA.NET 3.8 video series

I just purchased the CSLA.NET 3.8 video series, and I’m getting the popcorn ready for a few hours of great learning.

WPF or Sliverlight ?

Having just completed a large-ish Windows Forms project, I feel like tackling something different, but I’m hesitant between WPF and Silverlight.

I’ve always been a big fan of Rich Client Applications, but I’m always feeling like I’m missing something by not jumping on the web application band wagon.

I’ve started to look into CSLA.NET‘s support for WPF, and I must say I’m very please with what I see. I’m tempted to give Silverlight + CSLA.NET a try as well.

I guess I’m very slow in grokking the fullness of it all 🙂

More toys

I recently got myself this little Godin guitar. After so many years of playing bass, I decided that I wanted to try something else.

Godin Guitar

The tip of my fingers is sore !

New toy

I’m playing with my new toy, a very nice Godin bass guitar. I’m very impressed with the quality of this bass versus its reasonable price.

I haven’t played bass in almost 8 years, so I’m a bit rusty playing these old classic rock such as Rush Hemisphere !

My New Toy

Back to work

My first days of work after 2 weeks off. Why ?

Because I underwent surgery to remove a pilonidal cyst. I don’t wish that to anyone !!!

Most annoying thing is not being able to sit for more 15 minutes in a row, so coding goes slowly.

This is where I live


View Larger Map

Just for fun, here’s a map of Sherbrooke, Qc, Canada, a very nice place to live.

Hello world!

I have just installed WordPress as my blog engine, and it went smoothly.

This is my new blog, and hopefully I’ll have something interesting to say. Eventually.

NEWS

Electrical schematics appearance is not (so) important


In my dealings with users of EPLAN Electric P8, whether they are new users or [...]

FOLLOW US

CERTIFED EXPERT