You may receive an "Error 1317" error message when you try to install Visual Studio 2005 or Visual Studio .NET (872903)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional 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

When you try to install Microsoft Visual Studio 2005 or Microsoft Visual Studio .NET on your computer, you may not be able to install it, and you may receive the following error message:
Error 1317 An error occurred while attempting to create the directory Drive Name:\Folder Name
Note Drive Name is a placeholder for the name of the drive, and Folder Name is a placeholder for the path where you want to install Visual Studio 2005 or Visual Studio .NET.

CAUSE

This error occurs when the SYSTEM account on the particular drive does not have correct permissions. The SYSTEM account allows Visual Studio 2005 or Visual Studio .NET to have access to that drive.

RESOLUTION

To resolve this problem, make sure that the particular drive has the SYSTEM account. To do this, follow these steps:
  1. Click Start, click Run, type compmgmt.msc, and then click OK. The Computer Management window appears.
  2. In the left pane of the Computer Management window, expand Computer Management (Local), expand Storage, and then click Disk Management.
  3. In the right pane, right-click the disk drive where you want to install Visual Studio 2005 or Visual Studio .NET, and then click Properties. The Local Disk (Drive Name:) Properties dialog box appears.
  4. Click the Security tab, and then click Advanced. The Advanced Security Settings for Local Disk (Drive Name:) dialog box appears.

    Note On a computer that is running Microsoft Windows XP, you must also follow these steps to access the Security tab after you follow steps 1 through 4:
    1. Start Windows Explorer.
    2. On the Tools menu, click Folder Options. The Folder Options dialog box appears.
    3. Click the View tab.
    4. In the Advanced settings list, click to select the Use simple file sharing (Recommended) check box.
    5. Click Apply, and then click OK.
    6. Close Windows Explorer.
  5. In the Advanced Security Settings for Local Disk (Drive Name:) dialog box, click the Permissions tab.
  6. In the Permission entries list, click SYSTEM, and then click Edit. The Permission Entry for Local Disk (Drive Name:) dialog box appears.
  7. Click to select the Allow check box for all the permissions in the Permissions list, and then click OK.
  8. In the Advanced Security Settings for Local Disk (Drive Name:) dialog box, click Apply, and then click OK.
  9. In the Local Disk (Drive Name:) Properties dialog box, click OK.
  10. Close the Computer Management window.
  11. Install Visual Studio .NET.

STATUS

This behavior is by design.

REFERENCES

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

312779 INFO: Visual Studio .NET Readme (Part 1)

316250 INFO: Visual Studio .NET Readme (Part 2)

319714 How to troubleshoot Visual Studio .NET installation

873311 You receive error messages when you try to install Visual Studio .NET on a computer that is running Windows 2000 Server Service Pack 2


Modification Type:MajorLast Reviewed:2/14/2006
Keywords:kbvs2005swept kbvs2005applies kbtshoot kberrmsg kbprb KB872903 kbAudDeveloper