Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2002: Error Message When You Upload Document to SharePoint Server: "Cannot Open File for Writing"


View products that this article applies to.

This article was previously published under Q289318

↑ Back to the top


Symptoms

When you attempt to upload a document to a shared folder on a server running SharePoint Team Services from Microsoft, you may receive the following or similar error message:
Form Validation Error

Please correct the information you provided by following these steps, then submit the information again:

Cannot open file "file name" for writing.

↑ Back to the top


Cause

This behavior can occur when both of the following conditions are true:
  • The Allow anonymous upload to this directory check box on the General tab in the Document Library Properties dialog box is selected.
  • Some other setting on the General tab of the Document Library Properties dialog box have been changed and applied after anonymous upload permission was set.
When any settings on the General tab are changed and the OK or Apply buttons are clicked, if the Allow anonymous upload to this directory check box has not been selected since the dialog box has been opened, the permissions are set in the folder as if the check box was not selected.

↑ Back to the top


Workaround

To work around this problem, follow these steps when you have to change any setting on the General tab in the Document Library Properties dialog box and keep anonymous uploading working:
  1. Start FrontPage and open your SharePoint team Web site.
  2. In the Folder list, right-click the shared folder, and then click Properties.
  3. Click to clear the Allow anonymous upload to this directory check box, make any other changes you want in the other check boxes, and click Apply.
  4. Click to select the Allow anonymous upload to this directory check box, and click OK.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB289318, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 289318
Revision : 4
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 210