Error while installing Visual Studio 2010 SP1

I recently got given a new laptop to work on and soon realised that Visual Studio 2010 was not up to date. I started the installation of SP1, but the installation kept failing. I tried this three times and it failed three times. The thing that confused me was that it failed at random places. Luckily the logs that Microsoft gives for this install are very verbose and so I discoverred that the error was a common error message accross all the failures. Below is an example:

Returning IDOK. INSTALLMESSAGE_ERROR [The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. ]

After seraching for that error code, I quickly realised that the issue appeared to be access to a file that it was trying to replace. Given that this was happening at a random point in the install, I figured that the issue must be another piece of software running that was locking files.

After having a good look at the other apps I had running, I realised that there are two potential candidates. One was Microsoft Security Essentials and the other was Carbonite Pro (which automates my crucial file backups). I disabled both of these and the install succeeded.

I figure that Security Essentials was not to blame because i’ve never had a problem installing anything before. I’ve only been using Carbonite Pro for about a month, so I have to assume it was the culprit.

So if you’re getting the error above, check for file backup utilities that are running and disable them while doing your installation

Cheers

Craig

Advertisements

About Craig Bryden

I am a husband, father and sometimes I masquerade as an experienced Business Intelligence practitioner and Database Developer. I focus on the Microsoft SQL Server suite of products, and in addition have experience with C# and some team leading experience. I have also presented at SQL Saturday events and user groups I currently hold multiple Microsoft certifications, MCTS - SQL Server 2005, and MCTS - SQL Server 2008 Business Intelligence Development and Maintenance, MCTS - SQL Server 2008 Database Developer, MCITP - Business Intelligence Developer 2008, and Microsoft Certified Trainer, MCSA & MCSE - Business Intelligence (2012)
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s