"Assertion failed" error message when you install Visual Studio .NET or Visual Studio 2005 (814697)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

While you try to install Visual Studio .NET or Visual Studio 2005, you may receive the following error message:
Assertion failed!

Program: ...aar\Local Settings\Temp\SIT42045.tmp\setup.exe
File: f:\vs70builds\2106\vs\src\vssetu...\msiext...ler.cpp Line: 216

Expression: dwRes != 0

CAUSE

This problem occurs because the Temp folder on your computer has read-only access control specified. Therefore, the Visual Studio .NET or Visual Studio 2005 Setup application cannot copy temporary installation files to your local hard disk.

RESOLUTION

To resolve this problem, remove the read-only access control for your Temp folder. To do this, follow these steps:
  1. Locate the Temp folder on your computer.

    Note Typically, this folder is located in C:\Documents and Settings\User Name\Local Settings, where User Name is your user name.
  2. Right-click Temp, and then click Properties.
  3. Under Attributes, click to clear the check box for Read-only.

    Note The Confirm Attribute Changes dialog box may appear (this behavior depends on the contents of your Temp folder). If this dialog box appears, click Apply changes to this folder, subfolders and files, and then click OK.
  4. Click OK.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

Note The following procedure reproduces the behavior only if the access control for your Temp folder is already set to read-only.
  1. Verify that the access control for your Temp folder is already set to Read-only.
  2. Insert the first Visual Studio .NET or Visual Studio 2005 CD-ROM in the CD-ROM drive of your computer. Wait until your computer successfully detects the CD-ROM.
  3. In the Visual Studio .NET Setup or Visual Studio 2005 Setup dialog box that appears, click Visual Studio .NET Prerequisites or Visual Studio 2005 Prerequisites, and then click Windows Component Update.
  4. Follow the instructions on the screen. Accept all the default values to install the Visual Studio .NET Prerequisites for Visual Studio .NET 2003, or to update Windows Components for Visual Studio .NET 2002, or for Visual Stui o2005.
  5. When the installation has completed, the Summary page appears. Click Done.
  6. In the Visual Studio .NET Setup or Visual Studio 2005 Setup dialog box, click Visual Studio .NET or Visual Studio 2005.
  7. On the Visual Studio .NET Setup - Start Page or the Visual Studio 2005 Setup - Start Page, click I accept the agreement, and then click Continue.
  8. On the Visual Studio .NET Setup - Options Page or the Visual Studio 2005 Setup - Options Page, the check box for Visual Studio .NET or Visual Studio 2005 appears partially shaded. Click to clear the check box for Visual Studio .NET or Visual Studio 2005.
  9. Click to select the check box for Visual Studio .NET or Visual Studio 2005, and then click Install Now.

Modification Type:MajorLast Reviewed:3/1/2006
Keywords:kbvs2005applies kbvs2005swept kberrmsg kbwindowsupdate kbSetupMan kbDlg kbDevStudio kbBrowse kbACL kbUser kbSysSettings kbSysAdmin kbSoftwareDist kbAppSetup kbPreInstall kbMaintMode kbwizard kbPDWizard kbScript kbNativeAttributes kbManaged kbConfig kbDebug kbsetup kbDeployment kbprb KB814697 kbAudDeveloper