Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquamit amet felis. Mauris eros semper, velit semper laoreet dictum, quam diam dictum urna, ec placerat elit nisl in quam. Aliquam pharetra. Nulla in tellus eget odio sagittis blandit. Maec at nisl. ullam lorem mi, eleifend a, fringilla vel, semper at, ligula. Duis sed assa id mauris pretium venenatis.

19th
FEB

Unable to delete a page layout or a master page in SharePoint: This item cannot be deleted because it is still referenced by other pages

Posted by Ali Sanaei under Computer Software, Science and Technology, Websites

Today I ran into an error while trying to delete a Master Page on MOSS 2007. I made a mistake by copying few wrong files and creating duplicated Master Pages under ”_catalogs”. I thought I can simply right click on it and delete it, but no, it wasn’t that simple! Even when deactivating and uninstalling a page layouts feature these pages still stay in the “Master Page and Page Layout Gallery”. I tried to delete it manually from the gallery and from designer. This gave me the following error message: 

SharePoint Master Page Deletion Error
“Server error: This item cannot be deleted because it is still referenced by other pages.”

After a bit of lookup, I realised that this is a confirmed problem by Microsoft. The KB article 926812 proposes to change the properties of the master page to Hidden. This long workaround did not solve my problem!

There was however one workaround that solved the problem very quickly:

1- Create a new sub-folder in the master page gallery.
2- Move the Master Pages to the new folder.
3- Now delete the new folder.
4- The unwanted Master Pages are finally gone from the gallery!

Note: I did the above steps by using SharePoint Designer. It’s also doable in SharePoint itself.

While my problem was specific to master pages; I think the same solution will work with Page Layouts as well.

10th
FEB

How to hide or unhide Folder Options

Posted by Ali Sanaei under Computer Software, Science and Technology

If you are not able to access “Folder Options” under your windows explorer menu. This post is for you…
Restoring/Removing the “Folder Options” menu involves modifying the Windows Group Policy editor (gpedit.msc).
Just follow the below listed steps:
1. Go to Start >> Run
Type gpedit.msc and press Enter.

Tools NO Folder Options

2. In the resulting window, navigate to the folder
User Configuration >> Administrative Templates >> Windows Components >> Windows Explorer.
Look for the key named “Removes the Folder Options menu from the Tools Menu“.
Double-click the key and select Not Configured.
Click OK.

Tools Folder Options

3. To remove the “Folder Options” menu, follow the previous steps and select the Enable option for the “Removes the Folder Options menu from the Tools Menu” key.

30th
JAN

Dell Vostro 1500 reboot and partition resizing issues

Posted by Ali Sanaei under Computer Hardware, Computer Software

My work got me a brand new laptop last week, Dell Vostro 1500. I decided to do a clean Windows Vista Ultimate installation as I find the applications installed on the built-in Windows pretty screwing the OS’ stability.

This time there was a lot of headache to set up these Vostro laptops with a clean Windows Vista installation (Dell’s fault). The main issues were:

1- Not being able to resize the partitions using Vista’s built-in tool and also Paragon Partion Magic software.
2- Getting a nasty blue-screen error, STOP: 0×0000007B (0×80403BA0, 0×00000034, 0×00000000, 0×00000000), when trying to do a warm restart on the machines, just before windows wants to load.

I’m putting the solution here in case other have faced the same problem. Here are the required steps to install a fresh OS on these systems (These 30 simple steps just look simple here, but took 5 days to be found by me at nSynergy, Dell and Microsoft!):

1- Turn on the laptop and keep pressing F2 to enter the Mainboard’s setup.
2- Select onboard devices.
3- Select “Flash Cache Module” and then select “Off”.
4- Select “SATA Operation” and then select “ATA”.
5- Press Esc and select “Save/Exit”.
6- Insert Dell’s Drivers and Utility DVD and boot up from it.
7- Select “Q” to quit the initial menu.
8- Type “debug” to enter to HDD debugging environment.
9- Type the following command lines:

F 200 L1000 0
A CS:100
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80

xxx:010C INT 13
xxxx:010E INT 20
xxxx:0110
g
q

10- Restart computer.
11- Insert Dell MediaDirect DVD and boot up from it.
12- Select option 2 to resize the partitions.
13- Enter C partition’s size. 70GB is recommended for these 250GB Hard Drives.
14- Select “Y” to confirm.
15- Press any key to strike.
16- Restart computer.
17- Insert Windows Vista DVD and boot up from it.
18- Enter the license key, read the terms and conditions and if agree go to next step.
19- Press advanced on the next window.
20- Format Partition D which about 160GB should be shown if 70Gb has been chosen for Partition C.
21- Format Partition C which about 68GB should be shown.
22- Click next to install Windows on the partition C.
23- After Windows installation completion, insert the MediaDirect DVD again to finalise its installation.

If there is an image to be restored/recovered, after the above steps, do as follows:

24- Restart computer.
25- Insert Norton Ghost DVD and boot up from it.
26- Read the terms and conditions and if agree, go to next step.
27- A Windows Vista environment will come up. Select “Recover My Computer” Option.
28- Select the image or VM to be recovered.
29- After restoring the machine, reboot.
30- Enjoy!

Note that the warm restart blue screen issue might get solved by only doing the first five steps.

28th
OCT

Mahmoud, Bill & Julia: Happy Birthday!

Posted by Ali Sanaei under Ahmadinejad, Computer Networking, Computer Software, Entrepreneurship and Intrapreneurship, Iran, Middle East, Movies, Politics

Today I was invited by a friend of mine to his daughter’s 1st Birthday party. Everything was good and we all enjoyed our Sunday together. But I also realised that…

…today, 28th October is Mahmoud Ahmadinejad, Bill Gates and Julia Roberts‘ Birthday too!

24th
APR

The Aussie Prince of Persia

Posted by Ali Sanaei under Computer Software, Iran, Movies

Charlie Clausen

Its official now that the 19 year old Australian actor, Charlie Clausen is casted for the role of the Prince in the movie “Prince of Persia: Sands of Time”. The highly anticipated movie will hit the cinemas in December 2008.

I think Charlie Clausen could look Persian (Iranian).

Price of Persia Game
I have absolutely Zero faith in any video game to movie adaptations. Having said that, the one game franchise that I think it might have a chance at being half decent is Prince Of Persia. Not because it’s a better game than any other the others… but because it has a much richer story line, history and plot depth than any other game (which isn’t all that important when it comes to games… but it is important when thinking about making it into a movie).