Sunday, December 24, 2006

Worst Christmas Present Ever: Visual Studio 2005 Service Pack 1!

Update: I am able to get Visual Studio run again in my machine after doing some excessive deletion, which is certainly not recommended and only do it if you plan to reinstall the whole OS:
Delete below folders:
All folder that is named *.Microsoft.VC80.* in C:\Windows\WinSXS And registry that is named NetFramework and Fusion.

And now my Operating System has been upgraded to Windows Vista without any problem at all. Visual Studio 2005 runs perfectly in my new shiny Vista. :)

-- End Update

With a great happines to find out that Microsoft has released Service Pack 1 for Visual Studio 2005, I download it this weekend and left it install during the night cause it takes quite long time to install. I have used VS2005 since it's released and I am very happy with it, I can finish my task faster than ever.

Wake up in the morning to find that installation of Service Pack 1 fail due to insufficient space. And come with surprise and huge dissappointment, SP1 crashes my whole VS2005 and .NET 2.0 application including Windows Live Messenger. I install SP1 with free space on system drive around 1-2GB, but I have another partition with more available space. But without any validation on available disk space on my PC or option to choose which partition to use, Service Pack 1 just start to install directly. In the middle of installation, it's reported fail due to insufficient disk space. Since then, VS2005 and .NET 2.0 stop working with error: application failed to initialize properly (0xc0150004). Click on OK to terminate the application.
I have tried to rerun the setup with the result of more error message: This may indicate a problem with this package.

The error code is 2908. The arguments are: {GUID}. This errors repeated so many times and ends up with another error that rollback the whole installation. Then I try to repair .NET F/W 2.0, but fail with error: Product: Microsoft .NET Framework 2.0 -- Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid.

Then I try to repair VS2005 without any luck. It's also fail.
Browsing through forum, quite a number of unlucky person report the same thing ( They even have tried to reinstall the whole VS2005 without any success too. The only option is to reinstall Windows XP, which is no option for me to just install my office's laptop.

Damn, I have spent the whole day today to find out the solution. And christmas eve is approaching soon. I have planned to finish at least one or two module. Now, even my VS2005 die. Hope, his soul is still in my machine, so if there is a spell, I can revive him again.

Suggestion for Microsoft: If your service pack take a huge amount of disk space and it's critical to have that space because the installation is not able to rollback gracefully, please validate the free space of harddisk before start the installation.

Labels: ,