Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 840270 - Last Review: June 4, 2007 - Revision: 2.3
Error message when you publish an Expression Web Web site, a SharePoint Designer Web site, or a FrontPage Web site to a Web server: "Publish _vti_cnf/thumbs.db could not be published because of an illegal document"
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
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.
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:
- Start Windows Explorer, and then open the folder that contains the Thumbs.db file.
- On the View menu, click any view that you want except the Thumbnails view. For example, click List.
- Quit Windows Explorer.
- Open the Web site on your computer, and then open the folder that contains the Thumbs.db file.
- Right-click the Thumbs.db file, and then click Delete.
- When you are prompted to confirm the deletion, click Yes.
- 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.
- Publish your Web site to the Web server.
Method 2: Set the Thumbs.db file to "Don't Publish"
Set the Thumbs.db files to use the
Don't Publish setting, and then publish your Web site. To do this:
- Open your Web site.
- On the View menu, click Folders or Folder List.
- Right-click the Thumbs.db file, and then click Don't Publish.
- Publish your Web site to the Web server.
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:
kbnoOfficeAlertID SPD2007 SPD EW EWD FP2000 FP2002 FP2003 thumbnails
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
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate