Wednesday, December 18, 2013

Visual Studio 2012, 2013 - Error HRESULT E_FAIL has been returned from a call to a COM component.

Visual Studio 2013 giving the below error while trying to debug a website project.


---------------------------
Microsoft Visual Studio
---------------------------
Error HRESULT E_FAIL has been returned from a call to a COM component.
---------------------------
OK   
---------------------------













this was coming when trying to debug a website project. It turned out the start URL in the project was configured as https://localhost/myapp?param1

it started working once I removed the parameter from the URL. ie; https://localhost/myapp

Not sure though why Visual Studio is not accepting the parameter. Was able to add the parameter and hit the browser again once the browser page came up


Sunday, July 25, 2010

Animal Pictures Alphabetically with Names

Book shows colorful animal photos in an alphabetical order. The animal names are written with big letters next to each picture. The photos are printed in large size and very clearly portray the animal shown. All the common domestic and wild animals are covered. At least one animal is shown per alphabet. This is an excellent learning companion for kids to clearly identify and name animals.
  • Colorful animal photos listed in alphabetical order
  • Names shown in big letters
  • Large photos clearly displays the animal
  • All the alphabet letters covered with at least one animal per letter
  • All common domestic and wild animals covered
  • Excellent learning resource for children to recognize and name animals


Friday, February 13, 2009

Workaround for mouse pointer not working with Linux 2.6.17, 2.6.18, .. kernel on Virtual PC 2007 SP1

If you are using Linux kernel version 2.6.17 or 2.6.18, running under Virtual PC 2007 SP1, the mouse pointer may not work properly.You will see it as frozen in the middle of the screen.

You can make the mouse work by adding the kernel parameter "i8042.noloop".
This was tested on RedHat Linux 5.3 using grub as boot loader.

How to do this?

Testing first to make sure this works:

  1. After PC starts, and before Linux is starting, press escape to go to go to grub menu
  2. On menu, Press "e" to start editing.
  3. Find the line starting like "kernel..." and press "e" to edit this line. Go to the end of line and enter "i8042.noloop" without the quotes. Make sure there is a space after the last parameter and the new. The line, after editing, should now look like "kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet i8042.noloop"
  4. Press Enter to accept the editing.
  5. Press "b" to boot with the updated kernel parameter

Making a permanent change once happy the above is working
  1. On a command prompt, edit file /boot/grub/menu.lst (vi /boot/grub/menu.lst)
  2. Find the line starting like "kernel..." and enter "i8042.noloop" at the end of line without the quotes. Make sure there is a space after the last parameter and the new. The line should now look like "kernel /boot/vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet i8042.noloop"
  3. Save the file and reboot PC

Starting XWindows (KDE or Gnome) under Microsoft virtual PC 2007 sp1

X normally configures itself to use 24 bit screen depth when installed under virtual PC 2007. This causes it to display a corrupted unreadable image.
To overcome this, the X config file needs to be updated to use 16 bit color depth

How to do this? Try the below steps

  1. If you are are currently seeing a garbled screen, press Ctrl-Alt-F2 to switch to a text console and login as root
  2. Edit the config file using a text editor (vi shown below) and change depth from 24 to 16.
    vi /etc/X11/xorg.conf
    locate section "Screen" and change DefaultDepth & also Depth under SubSection "Display". Make sure these are set as 16
  3. Once the config changes are saved, restart X. This can be done by switching back using keys Ctrl-Alt-F7 (if you came from Step 1) and then once seeing the garbled screen, using Ctrl-Alt-Backspace . You can also try rebooting the system with the reboot command

This normally woks with KDE or Gnome on various distributions running under Microsoft virtual pc 2007 sp1

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...