Cách cài visual studio 2005

This article describes the Visual Studio 2005 Express Edition Setup issues Readme file.

Bạn đang xem: Cách cài visual studio 2005

Original sản phẩm version: Visual Studio 2005 Express EditionOriginal KB number: 908451

Summary

This article contains the bboomersbar.com Visual Studio 2005 Express Edition Setup issues Readme file.

More information

This document lists issues that concern installation, uninstallation, repair, và other setup procedures.

1.1. System Requirements

System Requirements for Installing Visual Studio Express 2005Require Values
ProcessorMinimum: 600 megahertz (MHz) Pentium processorRecommended1 gigahertz (GHz) Pentium processor recommended
Operating SystemVisual Studio 2005 can be installed on any of the following systems: bboomersbar.com Windows 2000 Professional SP4 bboomersbar.com Windows 2000 Server SP4 bboomersbar.com Windows 2000 Advanced Server SP4bboomersbar.com Windows 2000 Datacenter Server SP4bboomersbar.com Windows XP Professional x64 Edition (WOW)bboomersbar.com Windows XPhường. Professional SP2bboomersbar.com Windows XPhường Home Edition SP2bboomersbar.com Windows XPhường Media Center Edition 2002 SP2bboomersbar.com Windows XP.. Media Center Edition 2004 SP2bboomersbar.com Windows XPhường Media Center Edition 2005bboomersbar.com Windows XP. Tablet PC Edition SP2bboomersbar.com Windows Server 2003, Standard Edition SP1bboomersbar.com Windows Server 2003, Enterprise Edition SP1bboomersbar.com Windows Server 2003, Datacenter Edition SP1bboomersbar.com Windows Server 2003, Web Edition SP1bboomersbar.com Windows Server 2003, Standard x64 Edition (WOW)bboomersbar.com Windows Server 2003, Enterprise x64 Edition (WOW)bboomersbar.com Windows Server 2003, Datacenter x64 Edition (WOW)bboomersbar.com Windows Server 2003 R2, Standard Editionbboomersbar.com Windows Server 2003 R2, Standard x64 Edition (WOW)bboomersbar.com Windows Server 2003 R2, Enterprise Editionbboomersbar.com Windows Server 2003 R2, Enterprise x64 Edition (WOW)bboomersbar.com Windows Server 2003 R2, Datacenter Edition bboomersbar.com Windows Server 2003 R2, Datacenter x64 Edition (WOW)bboomersbar.com Windows VistaInstallation of Visual Studio 2005 on the Hãng Intel Itanium (IA64) is not supported.
RAM 1Minimum:192 megabytes (MB) Recommended:256 MB
Hard Disk 2Up to 1.3 GB of available space may be required
CD or DVD DriveNot required
DisplayMinimum:800 x 600 256 colors Recommended:1024 x 768 High Màu sắc - 16-bit
Mousebboomersbar.com mouse or compatible pointing device

1.1.1. Performance improvement

Performance has not been tuned for minimum system configurations. Increasing your computer"s RAM will improve its performance, especially when running multiple applications, working with large projects, or doing enterprise-level development.

1.1.2. Installation drive

When you start the Express installer, the mặc định installation location is your system drive sầu, which is the drive sầu that boots your system. However, you can install the application on any drive sầu. Regardless of the application"s location, the installation process installs some files on your system drive. Consequently, ensure that the required amount of space is available on your system drive sầu regardless of the application"s location, and ensure that additional space is available on the drive sầu on which you install the application.

1.2. Uninstalling Express Editions

If you have sầu installed previous versions of Visual Studio 2005, such as Beta 2 or Community Technical Previews (CTP) builds, then you must follow these steps shown below before installing Visual Studio 2005 Express Edition products:

Go lớn the Control Panel và launch Add/Remove sầu ProgramsRemove bboomersbar.com SQL Server 2005 Express EditionRemove sầu bboomersbar.com SQL Server 2005 Tools Express EditionRemove sầu bboomersbar.com SQL Native sầu ClientRemove bboomersbar.com MSDoanh Nghiệp Express Library 2005 BetaRemove all bboomersbar.com Visual Studio Express Editions (such as Visual C# 2005 Express Edition Beta)Remove bboomersbar.com Visual Studio 2005 Remote Debugger Light (This step is needed only if Visual Studio is installed on a 64-bit machine)Remove sầu bboomersbar.com Visual J# .NET Redistributable 2.0 Beta Language Pack (This step is not needed if you have only the English Edition)Remove bboomersbar.com Visual J# .NET Redistributable Package 2.0 BetaEnsure all Visual Studio 2005 products have been removed from your systemRemove sầu bboomersbar.com .NET Framework 2.0 Beta Language Pack (This step is not needed if you have sầu only the English Edition)Remove sầu bboomersbar.com .NET Framework 2.0 Beta

Note

This tool is not supported or thoroughly tested by bboomersbar.com. This is a không tính tiền tool and you should use it at your own risk. No warranty or support is provided, expressed, or implied.


You may now install the Visual Studio 2005 Express Edition products you wish to lớn use.

You can visit the Visual Studio Express Forum và report your specific issue.

1.3. Product installation

1.3.1 Installation of Visual Studio 2005 on the Intel Itanium (IA64) is not supported

Visual Studio 2005 does not support the Intel Itanium (IA64) processor.

To resolve this issue

If you need to lớn develop Itanium applications, install Visual Studio on another computer & use the cross compilers to target the Itanium platform.

1.3.2 Squốc lộ Express installation fails when pre-released SQL Express components are not uninstalled

Squốc lộ Express component thiết đặt will fail if any of the following pre-released SQL Express components are left on the computer:

bboomersbar.com SQL Server 2005 Express Editionbboomersbar.com SQL Server 2005 Tools Express Editionbboomersbar.com SQL Native sầu Client

In most cases, thiết đặt only displays a danh sách of Beta components detected on the targeted computer. However, SQL Express components will always appear in this danh mục if any other Beta components are detected. In other words, these SQL Express components could appear in the danh sách even after the user uninstalls them.

To resolve sầu this issue

Ensure the matching .NET Framework Beta is on the computer before performing the following steps:

Remove bboomersbar.com Squốc lộ Server 2005 Express EditionRemove bboomersbar.com SQL Server 2005 Tools Express EditionRemove bboomersbar.com Squốc lộ Native Client

You may ignore the Beta warning message about these components if they were uninstalled previously.

1.3.3 Setup fails when installing from a mounted drive in a Virtual PC environment

When installing Visual Studio 2005 on a Virtual PC, thiết lập fails because it cannot access certain files.This happens when the drive sầu is mounted using the CD Drive mount software provided with Virtual PC or your Visual Studio 2005 media is a DVD because the mounting software can only tư vấn 2.2 Gigabytes of data.

To resolve sầu this issue

You can use a third-tiệc ngọt DVD Drive mounting software. Alternatively, you can copy the contents of the Visual Studio 2005 DVD to lớn your computer"s hard drive, giới thiệu the folder with your Virtual PC, and then direct Visual Studio 2005 installation cài đặt lớn the folder.

1.3.4 Upgrade from previous releases of Visual Studio 2005

First of all, thank you for contributing to the release of Visual Studio 2005 by helping us to lớn demo our pre-release versions, such as Beta 1, Beta 2 or Community Tech PĐánh Giá, & for installing this final-release version! However, final-release cài đặt does not support uninstalling pre-release versions. For best results, it is recommended you install on a clean computer that has not had a pre-release version of Visual Studio 2005 previously installed on it. While it is not officially supported, we tried lớn ensure the scenario of uninstalling and reinstalling from Visual Studio 2005 Beta 2 to the released version has as few issues as possible. To uninstall Visual Studio 2005 Beta 2, you must uninstall in the order specified in section 1.2 of this readme tệp tin. Most Beta 2 projects can be carried forward khổng lồ the final release version. For details on any changes needed for forward compatibility, see Runtime Breaking Changes.

To resolve sầu this issue

If you have Visual Studio 2005 Beta installed and want khổng lồ install the released version, you must uninstall in the order specified in section 1.2 of this readme or use the uninstall tool.

1.3.5 Installing Visual Studio 2005 using the runas commvà fails

Unless you are logged in as an administrator, using the runas command khổng lồ install Visual Studio 2005 is not supported & will fail. Running Visual Studio 2005 after it is installed is supported for non-administrators.

To resolve this issue

Log in as an administrator lớn install Visual Studio 2005.

1.3.6 Installing Visual Studio 2005 from CD fails

The media that Visual Studio 2005 shipped on may be bad, preventing a successful installation.

To resolve this issue

Visual Studio 2005 setup may be run from a network mô tả as an alternative sầu to running thiết lập from CDs or DVDs. The following procedure illustrates how khổng lồ prepare Visual Studio 2005 for installation from a network chia sẻ. The procedure refers to lớn the Visual Studio 2005 CDs, but the steps are the same for DVDs.

Create a thư mục (for example, VS2005) on the hệ thống.

Create two subfolders, named VS, và MSDoanh Nghiệp within the top-level thư mục. For example: VS2005VS, VS2005MSDN.

Copy the contents of the Visual Studio 2005 CDs into the VS2005VS folder. Select Yes if prompted lớn overwrite any existing files.

Copy the contents from all the CDs labeled MSDoanh Nghiệp Library for Visual Studio 2005 khổng lồ the subthư mục named MSDoanh Nghiệp. Select Yes if prompted khổng lồ overwrite any existing files.

mở cửa Setup.ini in the VS subfolder using a text editor, such as Notepad.

In the Documentation section, change the line that starts with DIR= as follows:

DIR=..MSDNSave sầu your changes và cthua trận the tệp tin.


Note

Completing this step prevents disk-swapping requests during thiết đặt & informs the thiết lập program of the correct path to lớn the MSDN Library CDs.


In the VS subthư mục, open the Setup thư mục.

mở cửa setup.sdb in a text editor, such as Notepad, và add the following lines lớn the end of the file:

XXXXXXXXXXXXXXXXXXXXXXXXX
Note

XXXXXXXXXXXXXXXXXXXXXXXXX is the 25 digit product key, entered without dashes, found on the CD packaging.


Note

Completing this step enables pre-populating the sản phẩm key for the user who will install from the network share.


Share the VS2005 thư mục on the network & set the appropriate security settings. The path lớn Visual Studio 2005 setup from the network looks like \VS2005VScài đặt.exe


Note

Setup will fail if any path and tệp tin name combination exceeds 260 characters. The maximum length of a path in Visual Studio is 221 characters. You should copy files lớn a path with less than 70 characters. If you create a network giới thiệu for a network image, the UNC path to the root installation location should contain fewer than 39 characters.


Note

Setup might fail if the thư mục names in this path include embedded spaces, for example:

\VS2005MSDN\VS2005Visual Studio

1.3.7 Installing any edition of Visual Studio 2005 from an installation path that is longer 100 characters fails on Windows 2000

When thiết đặt is launched from a path that is longer than 100 characters, thiết đặt fails due to a maximum path limitation in Windows 2000. Path length is not an issue on Windows XPhường or Windows 2003 Server.

To resolve this issue

When installing from a network, bản đồ the network path khổng lồ a local drive and install from that drive. For example, if the path is \computernameprogramschạy thử folderdevelopment toolsexternalboomersbar.comVisual Studio 2005eta release, you can maps it to a network drive by doing the following:

From the Start thực đơn, choose Run.

Type cmd and then cliông xã OK.

At the commvà prompt, type the following:

net use * "\computernameprogramsdemo folderdevelopment toolsexternalboomersbar.comVisual Studio 2005eta release"Windows maps the network drive for you. The drive sầu letter is displayed in the console window.

When installing from a local folder, copy the contents of Visual Studio khổng lồ another thư mục on the computer that has a total path length of less than 100 characters.


1.3.8 Installation path cannot accept non-ANSI characters on Japanese MUI OS

On JPN MUI OS, when installing Visual Studio Team Suite to path with non-ANSI characters such as c:program files噂 浬 詰 圭 構 蚕 十 觸 bboomersbar.com Visual Studio 8, a dialog box pops up saying can"t accept non-ANSI characters.

This problem occurs on all JPN MUI OS (including Windows 2000, Windows 2003 và Windows XPhường series operating systems). It does not occur on JPN OS.

To resolve sầu this issue

Use ANSI characters for the destination path.

1.3.9 Antivirus applications that are configured lớn clean the Temp folder might cause thiết lập khổng lồ fail

If setup needs lớn reboot and your antivirus application is mix to clean the Temp thư mục on launch, necessary setup files will be deleted & thiết lập will fail due to lớn a program-not-found error.

To resolve this issue

Before running Visual Studio setup, remix the antivirut application lớn leave sầu Temp thư mục contents intact on launch or reboot. Reference your Antivi khuẩn help documentation for steps on how khổng lồ vì chưng this.

Xem thêm: Cách Treo Ảnh Cưới Trong Phòng Ngủ Hợp Phong Thủy Cho Vợ Chồng

1.3.10 Setup does not kiểm tra disk space when autolaunching after selecting reboot later

When reboot later is selected and the available space on the hard drive is filled beyond the amount of space needed by thiết lập, an out-of-space error will occur after reboot.

To resolve this issue

Ensure that enough disk space will be available by rebooting before installing or opening other applications. The required disk space is displayed when you select the location to install the hàng hóa.

1.3.11 Visual Studio file extensions are unregistered when Express Edition is uninstalled

If multiple Express Editions are installed on the same computer and then one is uninstalled, the uninstall un-registers file extensions it has in comtháng with the other Express Editions. This disables double-clicking on file icons in Windows Explorer to open a Visual Studio tệp tin type (.cs or .vb, for example).

To resolve this issue

There are two ways to work around this problem:Go to lớn the Windows Folder Options dialog box by using the Explorer"s Tools | Folder Options menu và reassociate the Visual Studio file-type extensions.

Or

Uninstall and then reinstall the Express Editions, which will cause the tệp tin extensions to be re-registered.

1.3.12 MSDN Express Library provides a specific version for each Express Edition

MSDN Express Library provides versions specific lớn each of Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition, Visual C# 2005 Express Edition, Visual J# 2005 Express Edition, và Visual Web Developer 2005 Express Edition. The desired set of documentation must be explicitly installed.

To resolve this issue

If you did not specify the desired documentation when you installed your Express Edition, you can install it by using Add or Remove sầu Programs in the Windows Control Panel.

1.3.13 SQL Server Express is the only version of SQL Server that will work with Express Editions other than Visual Web Developer Express Edition

SQL Server Express is the only version of Squốc lộ Server that will work with Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition, Visual C# 2005 Express Edition, & Visual J# 2005 Express Edition.

To resolve sầu this issue

If you did not specify Squốc lộ Server Express when you installed your Express Edition, you can install it by using Add or Remove sầu Programs in the Windows Control Panel.

1.3.14 Administrator deployment is not supported for Express Editions

Administrator deployment using SMS or Active sầu Directory is not supported for Visual Studio 2005 Express Editions. On a clean computer that is running Windows XPhường Professional, if you run the utility to create an .ini tệp tin for deployment (using admin bboomersbar.com), cài đặt will launch but then hang after the feature selection screens.

To resolve this issue

There is no known resolution.

1.3.15 Removing the .NET Framework breaks SQL Server 2005 và MSDN Express Library

You must uninstall Squốc lộ Server 2005 và MSDoanh Nghiệp Library before uninstalling .NET Framework 2.0 or you will encounter an error. You can install newer versions of SQL Server 2005 và MSDN Library only after removing all previous SQL Server 2005 components & MSDN library components, as listed below.

To resolve this issue

From the Control Panel, select Add or Remove Programs.

Select Squốc lộ Server 2005 components and then clichồng Remove lớn remove each component below.

Remove sầu bboomersbar.com SQL Server 2005 Express EditionRemove sầu bboomersbar.com Squốc lộ Server 2005 Tools Express EditionRemove sầu bboomersbar.com Squốc lộ server thiết lập tư vấn filesRemove sầu bboomersbar.com XML 6.0Remove bboomersbar.com SQLXML 4.0Remove bboomersbar.com Squốc lộ Native sầu ClientRemove sầu bboomersbar.com MSDN library

Select .NET Framework 2.0 and click Remove.

Install Squốc lộ Server 2005.


Note

If you remove the Beta .NET Framework 2.0 before removing all SQL Server 2005 components or MSDN Library, you must reinstall .NET Framework 2.0 before you can successfully perkhung the steps above.


1.3.16 Ensuring that your applications exexinh đẹp on all versions of Visual Studio 2005

The .NET Framework comtháng language runtime (CLR) provides configuration options that allow developers to lớn specify which version of the CLR their application should run against. However, this makes it difficult to lớn chạy thử the applications against CLR versions other than the one specified, because it requires manually reconfiguring options in each application"s config tệp tin.

To resolve sầu this issue

Visual Studio 2005 provides a switch that, when turned on, forces all applications executing on a given computer to run on the lademo version of the runtime. This switch overrides settings specified in the ứng dụng.exe cộ.config & host.config files, which normally specify that the application run on either version 1.0 or version 1.1 of the CLR.

You can control this switch either by setting a registry key or by setting an environment variable:

In the registry, activate the switch by using HKEY_LOCAL_MACHINESOFTWAREboomersbar.com.NETFrameworkOnlyUseLatestCLR=dword:00000001or deactivate it by using HKEY_LOCAL_MACHINESOFTWAREboomersbar.com.NETFrameworkOnlyUseLatestCLR=dword:00000000

Or

Using an environment variable, activate the switch with COMPLUS_OnlyUseLatestCLR=1 or deactivate it with COMPLUS_OnlyUseLatestCLR=0.

1.3.17 MSDN documentation for Express Editions of Visual Studio 2005 is not installed lớn a user-specified folder, but instead khổng lồ a default folder

During installation of the MSDoanh Nghiệp documentation for Express Editions, you will be prompted khổng lồ select a destination folder for the documentation files. However, your selected path is not respected & the documents are installed khổng lồ this location: C:Program Filesboomersbar.com MSDN QuarterlyNETbboomersbar.comV20.

To resolve this issue

There is no known resolution.

1.3.18 Under some conditions, uninstalling Visual Studio .NET 2003 will corrupt your installation of Visual Studio 2005

If Visual Studio 2005 is installed and then Visual Studio .NET 2003 is installed on the same computer, uninstalling Visual Studio .NET 2003 will corrupt your installation of Visual Studio 2005.

To resolve this issue

You must rerun Visual Studio 2005 cài đặt from the CD and select the Repair/Reinstall option.

1.3.19 Installation appears to hang when installing MSDN Express

During an installation, the user may be prompted to lớn reboot after certain components are installed. After a reboot, installation should continue. However, when the installer is trying khổng lồ install MSDoanh Nghiệp Express after a reboot, the progress bar looks full và the hàng hóa is marked as installed even though thiết đặt has not yet completed và the product is not fully installed. This condition makes it look lượt thích thiết lập is hung even though MSDN Express is being installed in the background.

To resolve sầu this issue

Wait about 10 minutes for MSDN Express install to lớn complete. The progress bar will not change during that time.

1.3.đôi mươi After being uninstalled, SQL Server Express requires a reboot before it can be reinstalled

When all Squốc lộ Server Express components are uninstalled, và then SQL Server Express is reinstalled using Maintenance Mode (for VSTS, you will need to lớn install MSXML 6.0 first.), the reinstallation fails. No cause is written to lớn the VS logs.

To resolve this issue

After uninstalling, reboot the computer before reinstalling SQL Server Express.

1.3.21 Launching Maintenance Mode from Add or Remove Program can take several minutes và might give sầu the appearance that cài đặt has failed

If you have sầu other processes running when you launch Maintenance Mode, such as virus scanning software, these processes can slow thiết đặt considerably & give sầu the appearance that cài đặt has failed.

To resolve this issue

Setup has not failed. Wait until it is finished or cchiến bại other processes & try again.

1.3.22 Download failure when downloading & installing an Express SKU

The download và installation of an Express SKU will intermittently fail due khổng lồ the unreliability of the mạng internet.

To resolve this issue

Visit Troubleshoot_Guide.htm on your CD or temp directory & rerun the bootstrapper from the trang web và try the tải về again.

2.1 C++ Tools for Itanium Setup location for Itanium redistributable

The redistributable files for Itanium are installed to the incorrect location during the Visual Studio Tools for 64-bit Setup (available only in Visual Studio 2005 Team System products).

To resolve sầu this issue

You can find the Itanium redistributable in the Visual Studio 2005VCRedistx86 folder.

3.1 Installing SDK hangs at "thiết lập is configuring the install..."

Installation hangs for an hour or more at thiết đặt is configuring the install..." and then gives the error message invalid directory...

This problem is caused by a laông xã of available disk space.

To resolve this issue

Free up sufficient space on the disk drive sầu.

3.2 x64 .NET Framework Language Paông xã 2.0 ProductVersion says 1.1 instead of 2.0

When deployed through Active Directory, the language paông xã version number is displayed in the Group Policy Object - Software installation table. This can be confusing when the sản phẩm name states 2.0 but the version data says 1.1.

To resolve sầu this issue

There is no known resolution.

3.3 Installing Windows Server 2003, followed by the .NET Framework 2.0, and then upgrading khổng lồ Windows Server 2003 SP1 using a full CD, breaks .NET Framework 2.0 applications

Upgrading using a CD with the full Windows Server 2003 SP1 installation replaces the shared tệp tin mscoree.dll on the user"s computer with the .NET Framework 1.1 mscoree.dll file.

Xem thêm: Giá Bào Ngư Sống Ở Đâu - Cách Chế Biến Và Tác Dụng Như Thế Nào

As a result, applications compiled against the .NET Framework 2.0 will fail to run after the Service Paông xã is installed.


Chuyên mục: Kiến Thức