Microsoft KB Archive/840270

= Error message when you publish an Expression Web Web site, a SharePoint Designer Web site, or a FrontPage Web site to a Web server: &quot;Publish _vti_cnf/thumbs.db could not be published because of an illegal document&quot; =

Article ID: 840270

Article Last Modified on 6/4/2007

-

APPLIES TO


 * Microsoft Office SharePoint Designer 2007
 * Microsoft Expression Web
 * Microsoft Office FrontPage 2003
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft FrontPage 2002 Server Extensions
 * Microsoft FrontPage 2000 Server Extensions

-





SYMPTOMS
You publish one of the following to a Web server that has FrontPage Server Extensions installed:
 * A Microsoft Expression Web Web site
 * A Microsoft Office SharePoint Designer 2007 Web site
 * A Microsoft Office FrontPage 2003 Web site
 * A FrontPage 2002 Web site
 * A FrontPage 2000 Web site

When you do this, you may receive an error message that resembles the following:

Server error: The following file(s) have been blocked by the administrator: images/Thumbs.db

Publish _vti_cnf/thumbs.db could not be published because of an illegal document



CAUSE
This issue may occur if both the following conditions are true:
 * One or more Thumbs.db files exist in a folder or in folders on your Web site.
 * The Web server that you are publishing your Web site to does not permit files that have .db file name extensions.



RESOLUTION
To resolve this issue, use one of the following methods, depending on your situation:

Method 1: Delete the Thumbs.db files
Delete the Thumbs.db files that are contained in folders on the Web site that you want to publish, and then publish your Web site. To do this:
 * 1) Start Windows Explorer, and then open the folder that contains the Thumbs.db file.
 * 2) On the View menu, click any view that you want except the Thumbnails view. For example, click List.
 * 3) Quit Windows Explorer.
 * 4) Open the Web site on your computer, and then open the folder that contains the Thumbs.db file.
 * 5) Right-click the Thumbs.db file, and then click Delete.
 * 6) When you are prompted to confirm the deletion, click Yes.
 * 7) Repeat step 1 through step 6 to delete every Thumbs.db file that is contained in folders on the Web site that you want to publish.
 * 8) Publish your Web site to the Web server.

Method 2: Set the Thumbs.db file to &quot;Don't Publish&quot;
Set the Thumbs.db files to use the Don't Publish setting, and then publish your Web site. To do this:
 * 1) Open your Web site.
 * 2) On the View menu, click Folders or Folder List.
 * 3) Right-click the Thumbs.db file, and then click Don't Publish.
 * 4) Publish your Web site to the Web server.



MORE INFORMATION
When you open a folder in Thumbnails view, Windows creates a Thumbs.db file. For example, if you use Windows Explorer to open a folder in Thumbnails view, Windows creates a Thumbs.db file in that folder.

For more information about FrontPage, visit the following Microsoft Web site:

http://www.microsoft.com/office/frontpage/prodinfo/default.mspx



kbnoOfficeAlertID SPD2007 SPD EW EWD FP2000 FP2002 FP2003 thumbnails

Keywords: kbprb KB840270

-

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

© Microsoft Corporation. All rights reserved.