Microsoft KB Archive/872903

= You may receive an &quot;Error 1317&quot; error message when you try to install Visual Studio 2005 or Visual Studio .NET =

Article ID: 872903

Article Last Modified on 2/14/2006

-

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
 * 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
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 :\

Note  is a placeholder for the name of the drive, and   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:  Click Start, click Run, type compmgmt.msc, and then click OK. The Computer Management window appears. In the left pane of the Computer Management window, expand Computer Management (Local), expand Storage, and then click Disk Management. 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 Properties dialog box appears. Click the Security tab, and then click Advanced. The Advanced Security Settings for Local Disk  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:  Start Windows Explorer. On the Tools menu, click Folder Options. The Folder Options dialog box appears. Click the View tab.</li> In the Advanced settings list, click to select the Use simple file sharing (Recommended) check box.</li> Click Apply, and then click OK.</li> Close Windows Explorer.</li></ol> </li> In the Advanced Security Settings for Local Disk  dialog box, click the Permissions tab.</li> In the Permission entries list, click SYSTEM, and then click Edit. The Permission Entry for Local Disk  dialog box appears.</li> Click to select the Allow check box for all the permissions in the Permissions list, and then click OK.</li> In the Advanced Security Settings for Local Disk  dialog box, click Apply, and then click OK.</li> In the Local Disk Properties dialog box, click OK.</li> Close the Computer Management window.</li> Install Visual Studio .NET.</li></ol>

<div class="status_section">

STATUS
This behavior is by design.

<div class="references_section">