Microsoft KB Archive/224974

= Site Server Content Management Incorrectly Tags Documents =

Article ID: 224974

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q224974



SYMPTOMS
When using one of the sample Content Management (CM) sites, or a site created by Makecm.vbs, uploaded documents may be tagged in a non-intuitive manner. Specifically, existing Office/OLE documents when re-submitted to a site have existing tags ignored.

For example, you upload a document to the FPSample CM sample site, choose a content type, enter some attributes on the properties page, and submit the document to the site. If you submit the same document again (or a document with the same filename), and choose the same content type as before, you will receive a message saying:

The File 'filename' Exists!"

An you will have choices to Cancel or Overwrite. If you choose Overwrite, then you will be presented with a properties page (GetProps.ASP) for the chosen content type. The properties page does not (as may be expected) display the existing properties from the document already in the content store.

If a non-OLE document is uploaded, the properties page does display the existing properties as stored in the existing document's STUB file.



CAUSE
This behavior is because of a problem in Submit.inc, and can be fixed in the workaround described below.



WORKAROUND
Using a text editor such as Notepad, open the file Submit.inc from \SiteServer\Publishing\ and modify the line in the procedure BuildPropertyList as indicated:

Incorrect line: If Not GetOLEProps(strUploadedFile) Then

Correct line: If Not GetOLEProps(FileName) Then

Then save the file.

Keywords: kbbug kbpending KB224974

-

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

© Microsoft Corporation. All rights reserved.