Microsoft KB Archive/320203

= BUG: &quot;Directory does not have write permissions&quot; error message when you add files to the remote root =

Article ID: 320203

Article Last Modified on 8/30/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition

-



This article was previously published under Q320203



SYMPTOMS
When you create a new Web project and then try to add a new file to the project, you receive the following error message:

Directory does not have write permissions

You receive this error message when you do the following:
 * You create the new Web project by connecting to the root Web on a remote server.
 * You use the File Share access method (the default).
 * You add files with any of the following extensions:
 * .aspx
 * .ascx
 * .asmx
 * .cs
 * .xsd
 * .asax
 * .config

Notes
 * Other file types, such as .htm, .xml, and .css, can be added to the project with no error.
 * This problem does not occur when you connect to the local computer.



RESOLUTION
To work around this problem, follow these steps.

Note This workaround applies only if FrontPage Server Extensions from Microsoft are configured on the Web server.
 * 1) In the Solution Explorer window, right-click the project name, and then click Properties.
 * 2) Under Common Properties, click Web Settings.
 * 3) Change the Web Access Mode property from File Share to FrontPage.
 * 4) Close the project and then open it again.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was corrected in Microsoft Visual Studio .NET 2003.

Keywords: kbbug kbpending kbideproject kbvs2002sp1sweep KB320203

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.