Archive for 2009

India : Search Private Limited Company Name

In India if you want to open a private limited company, you have to make sure that the name you are choosing for your company should be available for the services you want to provide.

You can check if your company name is available or not at Ministry of Commerce affair site.

If this link is not working ( Some times it says “session Expired” ),  than please visit this link, and then from Other Services menu select “Check Company or LLP Name”

This site is a bit crappy so be have patience and try if it is not working correctly.


Just select Relation : Contains any where or Starts with,  and enter name of your company in Company Name or LLP Name and hit enter ( At the time of writing the search button was not working :) ). It should come up with list of companies that have your company name in their name.

svn : Can not Parse lock / entries hashfile

Recently we moved our svn repositories from one URL to other. I don’t remember exactly what happened, but we started to get error

“svn : Can not Parse lock / entries hashfile “

whenever we try to take lock or release any lock from on any file in that repository. I have tried a hell lot to solve this problem, but I was not able to solve it in a clean manner.

So I have decided to take reset all the locks and asked on StackOverflow to help me. I received answer from Ben Blank and I followed his advise. I have manually release all locks from repository by Deleting <root>/db/locks folder. And all the locks were reset again.

Caution : Make sure you take backup of your repositories before doing such things.

Technorati Tags:

Asp.Net website : Exclude folder from compilation

Problem :

We used to have website projects, which does not come with project files like .csproj. We also have fckEditor folder in our project. So now every time when I build my project it unnecessarily also build fckEditor folder also which is really annoying to me ( I hate when something takes too long to build :) ).

If you are working on Asp.Net Web Application then the solution is very simple, you just have to “Exclude it” from the project. BUT we are working on WebSite project not web application project.

Solution :

In fact it is quiet simple. Just hide the folder, I mean, Make the folder ( the one that you don’t want to be included in compiling process) hidden and it will not be there in the build list.  So simple. :)

Outlook 2007 – Receive mails from particular accounts only

Problem :

As per my work requires, I manage lots of eMail accounts which includes My personal account, My work account. I have forwarded all emails from my personal account to my work account,  so that I just need to check one account only. I have created accounts in outlook for both my personal eMail and my Work eMail.

But it creates a big problem now. Whenever outlook performs Send/Receive it receives two copies of each mail from my personal account.

  1.   Originally from my personal account.
  2.   Forwarded copy from my Work account ( Since I have forwarded all mails from my personal  account to my work account.)

Solution :

What I actually want is

Follow the steps below to achieve above :

1. Go to Tools –> Options


2. Go to Mail Setup –> Send Receive


3. Click Edit


4. It will list all your accounts in left side pane.


5. Select the account. It will show you Account Options for send mail items and receive mail items. If you just want to send eMails using this account than check the Send Mail items and uncheck the Receive mail items.


6. Press Ok –> Cliose –> Ok.

And you are done. :)

Windows 7 – First bad experience

today morning when I switched on my machine, I just freaked off by not finding a whole 60 GB drive in My Computer. I have checked it in disk Management and it shows me 63 GB free space. Damn…


I am working on it to get my drive back. Lets see I am fortunate enough or not. :(

Windows 7 – Space Requirements

When you install Windows 7 Ultimate, make sure you have at least 16 Gigs of free HDD space. Basically I am creating a typical developer machine.

When I used to have Windows XP SP3, I used to have 20 gigs of C:\ ( OS partition ). I followed the same pattern with Windows 7 also and had to spend a half day at least to resize the partition. Windows 7 took whooping 9.5 Gigs in my OS partition without any application install.

I am sure Microsoft will come up with lots of Kb and SP updates for all the software  like Visual Studio, MS Office etc as people will start using Windows 7 in day to day life. So I wanted to make sure I have enough room on OS partition to accommodate all.

Again this is developer machine, so I need to install Visual Studio 2008 Team Suit ( Yes, I have one ), Management Studio, Office 2007, and other giants. I always want to make sure that the software I use most are present in my OS Partition. So according to my calculation now i need my OS partition to be at least 40 Gigs.

So now I started my search to find how to resize/extend OS partition. I gone through various options and succeeded at last.

1) Windows 7 built in Extend partition tool :

Start Menu –> Computer ( Right Click ) –> Manage –> Storage –> Disk Management –> Right click on the partition you want to extend, and you will get Menu as below :


I have tried a lot but was not able to get the Extend Volume enable. After a lot of research I understood why it is not enabled.

“You can add more space to existing primary partitions and logical drives by extending them into adjacent unallocated space on the same disk. To extend a basic volume, it must be raw or formatted with the NTFS file system. You can extend a logical drive within contiguous free space in the extended partition that contains it.”

It means that I need to have unallocated space adjacent to C:\ which I never had. So I took tough decision and backup my all data on drive D:\ and deleted it. But it shown me the reclaimed space as Free space and not Unallocated Space. I dont know whether it matters or not, but again I was not able to get Extend Volume enabled.

I have researched more and found this good article from Mark Ghazai.  He has given a work around for this. In his own words :

You can only extend a partition if the unallocated space is immediately at the end of that partition, in this case having the unallocated space between C: and D: volumes will let you extend the C: volume.

Now, here is a solution I can think of right away;

1- Temporarily move all the Data from D: volume to someplace else

2- Change the D: drive letter to a different drive letter that is available on the system (for instance Z:)

3- Shrink Z: to whatever size that you’d like to add to C: volume.

4- Create a new volume out of the unallocated space that was taken from Z: and assign D: as the drive letter.

5- Delete Z: volume that will make it an unallocated partition between C: and D:

6- Extend the C: partition.

I tried all this sincerely but no luck. :(

2) Partition Magic : After all above went failed, I decided to go with trusted companion Power Quest Partition Magic.  ( Power quest is now overtaken by Symentec, but that is a different story ). I went all surprised and disappointed when I came to know that Symentac do not provide any working free trial version to evaluate Partition magic. Yes, Partition magic does not have any free evaluation or trial version. So I have to again go to Google and try my options.



3)  Partition Wizard : A very good free tool. It gave me all the power I needed to perform partition resize on my C:\


It has two free editions

1. Home edition

2. Business edition ( Free to register )

I have downloaded Business edition and registered. It has lot of options and convenient GUI to perform all the operations I want to perform.

image image_thumb

I successfully used it to perform a partition resize. 10 out of 10 to save my day and 69$ :)

Windows 7 – A great new start

Microsoft almost lost the ground when people felt that Vista is not up to the mark. But MS is back with a bang.

I have just installed Windows 7 Ultimate and my first impression was wouuu…

Installation went so smooth and fast. What amazed me most is the speed. It is fast. I have Dell Vostro 1500, Core 2 duo T5270 @ 1.40 Ghz, 2 GB RAM. On this configuration it works very good. MS has changed the UI experience a lot in Windows 7. They have done some very small changes which will make the life easy and good.

Few of them are :

1. Now when you open My Computer ( Which is now just “Computer) ) in the status bar you will find some good information about your computer like

Name Of your computer, Domain or workgroup, Processor and memory etc.


2. Sticky Notes : No need to install any third party software or Office One Note. Your sticky notes are present in windows 7 only.


3. Snipping tool : The above snaps was created using snipping tool. So easy to use. Just start it and drag it to the area you want to snip.

4. Calculator : At last some one spent some time and improved it.


5. Paint : looks like it has been improved a lot. Did not used it yet.

6. Windows Power shell is now in built.

7. All new shiny Date Time Indicator. The Show Additional clock feature is very very handy.

image image

Few Disappointments are there also : I am trying to find solutions about it also. I will post each of them as soon as I get.

1. Why no one wants to improve notepad a bit. I know its just tiny editor and it should not have full fledged features of Editor like Notepad++, But I think it should at least have some features of notepad2

2. The old problem of Windows : The copy or move operation is so slow and the timing calculation it shows is :)


3. Network Activity Indicator is missing :


Now I hate this. It has to be there. Now I just dont have easy visual confirmation of Network activity. :(

4. Windows Explorer does not have Address Bar

I used to copy address of folder from address bar. Now I can not.

This product is pre-pidded – MS says you this

When Microsoft tells you this, He means that you don't need product key for this product. It is in in built (pre-pidded) in the installer. So dont freak out when MS tells you "This product is pre-pidded" instead of giving Product Key. Cool

Could not load type ‘Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException’

After installing Team Explorer when i have started working on it, as usual, I tried to create work item from one of MS code analysis recommendation. When New Task window appeared it gave me error

"Could not load type 
from assembly 
'Microsoft.TeamFoundation.WorkItemTracking.Client, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."


The problem was sequence of installation. My installation sequence was 

1. VS 2008 Team System

2. VS 2008 Team System Sp1

3. Team Explore

So Team explorer was never patched with Sp1. 

The solutions is very simple :

Reinstall the VS2008 SP1.  


Can not Open Microsoft and other Security related websites : Damn Win32/Conficker …

You can browse all the stuff on the web except Microsoft sites and some other security related web sites then there are high chances of your machine to be infected by Win32/Conficker A/B variant.
What is Conficker A/B/C variant ?
You can find detailed information about it on Microsoft Protection center.  In case you are already infected you will not be able to open this link, so I am reproducing detail here.
 Win32/Conficker is a worm that infects other computers across a network by exploiting a vulnerability in the Windows Server service (SVCHOST.EXE). If the vulnerability is successfully exploited, it could allow remote code execution when file sharing is enabled. Depending on the specific variant, it may also spread via removable drives and by exploiting weak passwords. It disables several important system services and security products and downloads arbitrary files.
 The following system changes may indicate the presence of this malware:
  • Some accounts may be locked out due to the following registry modification, which may flood the network with connections:
    "TcpNumConnections" = "0x00FFFFFE"
  • Users may not be able to connect to websites or online services that contain the following strings:

To make sure if your computer is infected or not please visit Conficker Test  link. It is a simple logic. It tries to load images from security web sites. If your computer is infected it will not be able to load images. 
Now if you are sure that your computer has been infected by Conficker A/B/C or greater, you have to use Microsoft Malicious Software Removal Tool to remove this maleware from your machine.  One more thing you have to use other machine to download this tool because if your machine is infected it will not allow Microsoft security sites to open. 
I have copied images and test from Conficker Test . I recommend  to use their page only.



How to interpret:

If you see this above: It probably means this:
All images displayed = Normal/Not Infected by Conficker (or using proxy)
Security/AV logos not displayed Possibly Infected by Conficker (C variant or greater)
Some security/AV logos not displayed Possibly Infected by Conficker A/B variant
No images displayed = Image loading turned off in browser?
Any other combination = Poor Internet connection?