Archive for November, 2013

November 12, 2013

Installing Windows 8.1 on Oracle Virtual Box

I had to setup a virtual machine with Windows 8.1. So the setting up of the virtual machine was fine but when the machine start to boot from the virtual CD drive was getting an error saying “your PC needs to be repaired error code 0x0000225”.

To fix it, stop the virtual machine, go to Settings -> System and check “Enable IO APIC”

refer more details on this link.

Upon fixing the above error again crashing up with the following error:

Your PC needs to restart.
Please hold down the power button.
Error Code: 0x000000C4

To fix the above start the command prompt and run the below commands:

1. To lists all the virtual machines in your PC.
C:\”c:\Program Files\Oracle\VirtualBox\VBoxManage.exe” list vms
“SharePoint2010” {bsdhy5577-c949-4666-862e-87bb3081a557}
“SharePoint2013” {2cd32b13-c5d2-41b9-b7be-76bcrt47adea}
“Windows 8.1″ {3358a0cb-86e3-4c0d-9e87-2a48a0wes06f}

2.Upon knowing your virtual machine name, execute the following command:
C:\”c:\Program Files\Oracle\VirtualBox\VBoxManage.exe” setextradata “Windows 8.1” VBoxInternal/CPUM/CMPXCHG16B 1

(this will enable the CPU instruction CMPXCHG16B)

That is all what you have to do. After the virutal machine starts to boot up without any problem.

November 3, 2013

Hide root node of the Sharepoint 2013 SiteMapPath

I had my sitemap path with following link in the master page.

Home > Portal Site > Departments >HR

Home link redirects me to the variationroot.aspx at the same time the “Portal site” also links with the default.aspx page. Anyhow the variationroot.aspx page will redirect the user to the same Default.aspx page. So needs to remove this redundant links and finally the site map path links should appear as below:

Portal Site > Departments >HR

Add the following CSS entry in any case if you wanted to hide the first node of the sitemappath in a variation enabled sharepoitn site.

<asp:SiteMapPath ID="contentNavigation" runat="server">
#ctl00_contentNavigation span:nth-child(2),span:nth-child(3)