Known Issues with Visual Studio 2005 Service Pack 1

Known Issues with Visual Studio 2005 Service Pack 1

  • Comments 48

There are several known issues when installing Visual Studio 2005 Service Pack 1. I've documented these below and, when possible, have included workarounds and status on any pending fixes.

Contents

Error 1718.File '...' was rejected by digital signature policy

Install Rolls Back and Breaks Applications like Live Messenger

Visual Studio 2005 Service Pack 1 Takes a Long Time to Install

Visual Studio 2005 Service Pack 1 Requires a Lot of Disk Space

Error 2908 – An Unexpected Error Installing the Package

Other Installation Errors

Error 1718.File '...' was rejected by digital signature policy

This problem occurs mainly on Windows Server 2003 Service Pack 1, and could potentially occur on Windows XP. It does not occur on Windows Vista.

Starting with Windows XP, a software restriction policy known as SAFER was introduced as a preventative measure to help avoid running unsafe files. Both Windows XP and Windows Server 2003 require enough contiguous memory to check files, and Windows Server 2003 seems to fragment memory more heavily leading to this error message. Windows Vista performs the same check, but uses far less memory. In most cases following the instructions documented in KB925336 will work, but we received reports where these steps did not work. Investigation into these cases suggests the steps failed because an Active Domain policy refresh overwrote the local SAFER policy.

While we continue to investigate fixes to Windows XP and Windows Server 2003 you can set a registry value to reliably install Service Pack 1. Follow the steps documented in the workaround for error 1718 to set the DWORD registry value named PolicyScope to 1 in the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers registry key. If the registry value is not set you should set it, but if the domain policy updates your machine before each SAFER check is made while installing the patch you may still run into the same problem. Some people have confirmed that following the workaround steps allowed them to install Service Pack 1. Be sure to reboot your machine after both leaving the re-joining the domain.

Install Rolls Back and Breaks Applications like Live Messenger

Visual Studio 2005 Service Pack 1 for Standard, Professional, and Team editions is large – there are a lot of fixes in that package. Required disk space is calculated by Windows Installer when installing products and patches, and this task is not always accurate. Normally insufficient disk space means that Windows Installer displays one of several error messages depending on the circumstances. Whether a message is displayed or not, Windows Installer will roll back the installation. On Windows XP and Windows Server 2003, this may mean that the manifest files under %WINDIR%\WinSxS are removed. Any applications that depend on the VC runtimes in this directory will break. You can fix this issue by repairing Visual Studio 2005, either through Add/Remove Programs or by running setup.exe from your original installation media and choosing the Repair option.

Visual Studio 2005 Service Pack 1 Takes a Long Time to Install

This is another documented problem due in large part to the number of fixes included in the service pack. For Team Foundation Services and Express editions, both time and space required to install their respective service packs is minimal. You can mitigate some time by disabling the patch cache and running silently.

Our product and patches for Visual Studio and the .NET Framework – except on Vista as installed with the operating system – use Windows Installer. Windows Installer is a robust, transaction installation that requires a lot of data collection and a two-phase installation to support transactional installation. Because of this and the disk I/O necessary long installation times should be expected. Disabling the patch cache will reduce the amount of disk I/O.

You can further save time by installing the patch silently, which reduces the number of steps and an extra security check required to install the patch for each product to which the patch applies. To install the patch silently, on the command line pass /quiet to the patch executable:

VS80sp1-KB926601-X86-ENU.exe /quiet

Replace VS80sp1-KB926601-X86-ENU.exe with whatever file name you downloaded is appropriate. The file here is for the English Visual Studio 2005 Standard, Professional, and Team editions.

Visual Studio 2005 Service Pack 1 Requires a Lot of Disk Space

There are a lot of fixes in this service pack, and because of how Windows Installer caches patches a lot of disk space is required. Please make sure you have enough disk space to install the service pack as documented in the download page under "Installation Requirements".

Note that if you have multiple products installed for a particular patch, multiply the required space for that patch by the number of products installed on your machine for which a patch applies. This is the maximum amount of disk space required so it is a high estimate. A typical case is Visual Studio 2005 Standard, Professional, or Team Suite installed along with the Team Foundation Client and/or SQL Server 2005, since SQL Server 2005 uses the Visual Studio IDE that we package. If you're not sure what applicable products you have installed, extract the patch by passing /extract on the command line and use my Patch Applicability Browser, providing the extract .msp file you just extracted in the user interface.

Error 2908 – An Unexpected Error Installing the Package

This is another common issue related to the size of the patch and running out of disk space. Please free up some disk space as required for the patch and reinstall the patch. Note that because of the rollback, products that depend on VC may be broken until you repair Visual Studio 2005 or reinstall Visual Studio 2005 Service Pack 1.

Updated: Read Visual Studio 2005 Service Pack 1 Rollback Breaks Some Applications for more details.

Other Installation Errors

There are some other known issues once the patch is installed that are documented in KB928957. You may also continue to read my blog or, more specifically, the VS 2005 SP1 tag where I will post more information about other issues that may arise and any updates to workarounds or fixes.

Leave a Comment
  • Please add 1 and 7 and type the answer here:
  • Post
  • Rich, no you cannot but you can  try to clean-up orphaned files under %WINDIR%\Installer if you have any. Read http://blogs.msdn.com/heaths/archive/2007/01/31/how-to-safely-delete-orphaned-patches.aspx.

  • Heath, thanks for the quick response, I'll try but I fear this may not be enough - the partition is only 10Gb total and since the SP needs 6Gb+ it's going to be tight!

  • ok, finally managed to install it with <2Gb of space !  This (http://blogs.msdn.com/heaths/archive/2006/11/28/save-time-and-space-for-vs-2005-sp1-by-disabling-the-patch-cache.aspx) was extremely helpful, thanks :-)))

  • 針對 Vista 上的 VS 2005 開發工具相容性套件終於推出了,算一算 VS 2005 自上市以來已經有了幾個不同版本的 update 套件 在這裡整理一下,同時也建議一下安裝的順序與相關的資訊

  • Visual Studio 2005 Service Pack 1 is a big release with many fixes and lots of new features. But with

  • As Aaron notes , the Visual Studio 2005 Service Pack 1 Update for Windows Vista is available on the download

  • I am having the same problem as the one described in http://forums.asp.net/thread/1587696.aspx

    I can't believe that VS 2005 SP1 can have completely broken typed datasets (.XSDs) for all development sites!?

    So what is the solution to the problem for the few people reporting it?

    Either that or there really are a very small number of sites who are:

    a) Using VS 2005 SP1

    b) Using typed datasets

    c) Have needed to make a change post install of SP1

    Any assistance on this would be gratefully received.

  • I get error message

    "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."

    What I have done is, install VS2005 professionsl on a fresh Vista machine and then try to install SP1.

  • Vivek, make sure you have downloaded the correct Service Pack package for the right language of Visual Studio 2005 that you have installed. You can also extract the MSP from the EXE by using the /extract switch, then use my Patch Applicability Browser at http://blogs.msdn.com/heaths/articles/pab.aspx to see what products it applies to, and which of those are installed.

  • Heath,

      Someone earlier in your blog mentioned a problem with WAP. I have several projects built originally using the WAP pre SP1. Now after un-installing WAP so that I could install SP1 to fix other issues, dragging controls of any kind onto a page in either source mode or designer mode the control isn't being declared in the designer.vb Any thoughts?

  • when installing visual studio 2005

    having the operating system windows xp sp2

    i get error saying suite integration toolkit excutable has encountered a problem and needs to close. what shall i do?

  • Sorry seada, but I can't really provide much help with application issues. I recommend visiting http://forums.microsoft.com/msdn and post your question there. The product groups typically monitor the threads. You could also file a bug in http://connect.microsoft.com. If you go that route, I recommend you generate a verbose log by passing "/L*vx+ logname.log" (without quotes), ZIP, and attach that to the bug.

    If you've tried to install this patch before and it failed, it's possible the VC runtime is broken. Read http://blogs.msdn.com/heaths/archive/2007/02/05/visual-studio-2005-service-pack-1-rollback-breaks-some-applications.aspx for details on that.

  • When installing Visual Studio 2005 Service Pack 1 , users may see an error that reads, Error 1718.File

  • Microsoft Visual Studio 2008 , now available for MSDN subscribers and Express editions freely available

  • Microsoft Visual Studio 2008 , now available for MSDN subscribers and Express editions freely available

Page 3 of 4 (48 items) 1234