When installing Visual Studio 2010 service pack 1, you get error code 13ec. Error code 13ec can be caused by one of two reasons.
You can get error code 13ec if there isn’t enough space on your hard drive to install Visual Studio 2010 service pack 1. To fix this, free up some space and try installing Visual Studio sp 1 again.
Error code 13ec can also be caused if you are using Visual Studio 2010 Shell. This is because Windows Update detects that you have the full version of Visual Studio installed and gives you the service pack for that version instead. Unfortunately there is no service pack for Visual Studio 2010 Shell, so the only thing you can do is to ignore the update (you can hide it in Windows Update).