Microsoft KB Archive/814697

= &quot;Assertion failed&quot; error message when you install Visual Studio .NET or Visual Studio 2005 =

Article ID: 814697

Article Last Modified on 11/14/2007

-

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
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * 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\ \Local Settings, where  is your user name.
 * 1) Right-click Temp, and then click Properties.
 * 2) 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.
 * 1) Click OK.



STATUS
This behavior is by design.



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.

