Article ID: 319714 - Last Review: March 10, 2006 - Revision: 8.9 How to troubleshoot Visual Studio .NET installationThis article was previously published under Q319714
For a Microsoft Visual Studio 2005 version of this article, see 904732
(http://support.microsoft.com/kb/904732/
)
.
On This PageSUMMARY This step-by-step article describes best practices for
troubleshooting Visual Studio .NET installation and, if you experience problems
during the installation, describes general steps for how to locate log files.
More specific errors and problem are addressed in other Microsoft Knowledge Base (KB)
articles. Most installations of Microsoft Visual Studio .NET products occur as expected. The Microsoft Windows Installer is used to install these products. This is the same installation engine that you will use to deploy applications that you have developed in Visual Studio .NET. Because of this, the installation should go smoothly, create the required log files, be self healing if damaged (resiliency), and perform complete rollbacks if potential problems are detected. Best practices steps can prevent many problems. Consider using best practice installation methods for all installation, including service packs (SPs). MORE INFORMATIONSteps to best practice installation methodsBest practice installation methodsBest practice installation methods for computers that are running Windows NT (including Windows NT 4.0, Windows 2000, and Windows XP) have the following three criteria:
Use the Local Administrator accountBy default the Local Administrator is named Administrator. However, you can rename this account for security reasons. To view the name and to change the password, follow these steps:
Stop all required services and programsTo stop the services and the programs, follow the steps for your operating system:
Delete the contents of the System\Temp folder
InstallationWindows Component Upgrade (WCU) in Visual Studio .NET 2002 or Visual Studio .NET Prerequisites in Visual Studio .NET 2003, gives the prerequisites for the Visual Studio .NET products. Depending on your operating system, different components are installed and the installation process requires a different number of restarts.The destination computer should never have had any Beta or Release Candidate Visual Studio .NET product installed on it. If these product have been installed, it is a good idea to rebuild the computer (reformat the hard disk, and then install the operating system again) to verify that these products have been removed completely. The executable file for Visual Studio .NET is named Setup.exe. This file is located in the root folder of Disk 1 of the CD-ROM or DVD-ROM installation media. This file appears in the installation dialog box. You must click 1 (the first selection, which is the WCU or Prerequisites) before you can click 2 to install Visual Studio .NET. Setup prompts you for the WCU or Prerequisites disk, and then returns to the numbered installation media. For more information about WCU, see the "References" section of this article. By default, verbose logging is turned on for the Visual Studio .NET installation. The log file is named VSMsiLog*.txt (* represents four alphanumeric characters in the file name, for example, VSMSILogA1d1.txt). The file is approximately 40 megabytes (MB). Component files and logsThe following table lists each component, its location on the installation media, and the log file that is generated. Many of these log files are placed in the System\Temp folder, and then moved to the \Program Files\Microsoft Visual Studio .NET\Visual Studio .NET(Edition Name)\Logs folder when the installation is completed.Microsoft Visual Studio .NET 2002Collapse this table
Microsoft Visual Studio .NET 2003Collapse this table
322950
(http://support.microsoft.com/kb/322950/
)
Error messages when you cancel setup of Visual Studio .NET or the MSDN Library
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
888470
(http://support.microsoft.com/kb/888470/
)
Another installation program starts when you try to install Visual FoxPro, Visual Studio .NET, or prerequisites
For more information, visit the following Microsoft Web site, click
Visual Studio .NET (2002)
or
Visual Studio .NET (2003)
in the list of Microsoft products, and then click
Go
:
Advanced Search and Help
http://support.microsoft.com/gp/gsssearchhelp
(http://support.microsoft.com/gp/gsssearchhelp)
For more information about Visual Studio .NET and installation, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=gp;en-us;vssetup
(http://support.microsoft.com/default.aspx?scid=gp;en-us;vssetup)
APPLIES TO
| Article Translations
|
Back to the top
